Is there a way to get the week number of a date with SQL that is database independent?
For example to get the month of a date I use:
SELECT EXTRACT(MONTH
The best idea I found is
SELECT ROUND(((DAY(NOW())-1)/7)+1)