MySQL Subdate
SELECT SUBDATE(NOW(), INTERVAL 1 DAY); --Yesterday
Shy Skunk
SELECT SUBDATE(NOW(), INTERVAL 1 DAY); --Yesterday