I need to put (IF) condition in my code to show only the datediff bigger than 0 but always happen error , anybody can help me please ?
SELECT DATEDIFF(`Date` ,CURDATE()) AS Date,`id` AS Dateid FROM `election` ORDER BY `Date` ASC
Aucun commentaire:
Enregistrer un commentaire