I have a field in my database (dt_nf) which is type DATE. I would like to do a query that groups not by date, but by month and year, but I can not. My code looks like this:
SELECT
Sum(sjy_vendas.qtv) AS qt,
Sum(sjy_vendas.rprd) AS rec,
Sum(...
asked by
07.11.2018 / 10:59