Can anyone fluent in both MySQL and PostgreSQL translate this to MySQL?
SELECT *
FROM generate_series(DATE_TRUNC('day', NOW() - interval '30 day'),
DATE_TRUNC('day', NOW()),
interval '1 day'
)
I know that generate_series() does not exist in MySQL. Is there a similar function?