Mysql
 sql >> Datenbank >  >> RDS >> Mysql

MySQL-Abfrage zwischen Datum auswählen?

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

oder mit >= und <= :

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