select amount weeks between two dates mysql
snippet in sql

select amount weeks between two dates mysql

user6685

##syntax: FLOOR(DATEDIFF(DATE(column_end_date), DATE(column_ini_date))/7)

Select FLOOR(DATEDIFF(DATE(20090215), DATE(20090101))/7);