bagaimana mendapatkan tanggal kemarin di mysql
SELECT SUBDATE(NOW(),1);
Envious Earthworm
SELECT SUBDATE(NOW(),1);
SELECT * FROM my_table WHERE created_at > DATE_SUB(NOW(), INTERVAL 1 DAY)