I need some help writing a MySQL query to show me rows from last month, but not the whole month, only up and until the same day, hour and minute as it is now(), but 1 month
You could use a WHERE clause like:
WHERE
WHERE DateColumn BETWEEN CAST(date_format(date_sub(NOW(), INTERVAL 1 MONTH),'%Y-%m-01') AS date) AND date_sub(now(), INTERVAL 1 MONTH)