I need to select values ββfrom a database where I have the full date. Now I have to get this date without a day, because I have to group and count them per month.
I did it this way, but it will give me a month, like in January, from 1, and I need 01 ...
(extract(YEAR,Month from ak.date ) || '.' ||extract(Month from ak.date) ) as Datum
source share