Mysql
 sql >> Database >  >> RDS >> Mysql

Seleziona la query MySQL tra la data?

select * from *table_name* where *datetime_column* between '01/01/2009' and curdate()

o usando >= e <= :

select * from *table_name* where *datetime_column* >= '01/01/2009' and *datetime_column* <= curdate()