|ID | pos_time |------------------------------ | 1 | 2009-04-18 15:13:21 | 2 | 2009-04-18 15:14:34 | 3 | 2009-04-18 15:15:55
SELECT * FROM base WHERE pos_time = current_date() - INTERVAL 1 DAY