mysql getting updated rows last 6 hours code example
Example: mysql select last 15 minutes
SELECT name
FROM users
WHERE created_at > (NOW() - INTERVAL 15 MINUTE)
SELECT name
FROM users
WHERE created_at > (NOW() - INTERVAL 15 MINUTE)