Answers for "get last 7 days data mysql"

SQL
2

mysql last 7 days including today

SELECT * FROM `account` 
WHERE DATE(created_at) > (NOW() - INTERVAL 7 DAY)
Posted by: Guest on July-26-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language