SyntaxFix
Write A Post
Hire A Developer
Questions
SELECT DATEDIFF(NOW(),pickup_date) AS noofday FROM cir_order WHERE DATEDIFF(NOW(),pickup_date)>2;
or
SELECT * FROM cir_order WHERE cir_order.`cir_date` >= DATE_ADD( CURDATE(), INTERVAL -10 DAY )