Mysql
 sql >> Base de données >  >> RDS >> Mysql

Filtrer entre deux dates MYSQL

$result = DB::fetch("SELECT * FROM incentive_table WHERE inc_date BETWEEN '$inc_from' AND '$inc_to' AND inc_sales_id ='$userid'" ORDER BY inc_date ASC");