Estrarre record per anno e mese
Come estrarre i record da una tabella in base al valore di una stringa dal formato “yyyyMM”.
1 select * from tabella where extract(year_month from campo_data) = '200912'
Come estrarre i record da una tabella in base al valore di una stringa dal formato “yyyyMM”.
1 select * from tabella where extract(year_month from campo_data) = '200912'