0
I need a query that returns me to the average of a relative month, and a day of the week.
For example:
I need to know the components relating to the month of February, the day of the week Monday.
It is possible to define some expression for the DATA
, whereas DATA
is of the date type no sql
SELECT AVG(P.Quant) AS Expr1
FROM P
WHERE (Pro.Tipo = 'B') AND (V.ID= 1)
AND (DATA =:....")
You mean "every Monday of February"?
– user4552