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

Filtra tra due date 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");