Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

mysql entre consulta em datas

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