Hi,
I want an sql statement for last week, month etc
When I run this i get all, but how do I limit it for last week last month?
I have this
Select sum(verbruik), YEAR(time) AS jaar, WEEK(time,5) AS week, DAY(time) AS day from rfxpower group by jaar, week, day
mysql question
- b_weijenberg
- Forum Moderator
- Posts: 1744
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands