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

mysql tra query in date

SELECT * 
FROM fb_user 
WHERE last_date BETWEEN curdate() AND curdate() - interval 6 day 
ORDER BY oldscore DESC LIMIT 10