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

Filtern Sie zwischen zwei Daten 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");