📜  mysql sql select 前一天 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:08.449000             🧑  作者: Mango

代码示例1
SELECT * 
  FROM TABLE t
 WHERE t.date BETWEEN DATE_SUB('2010-07-29', INTERVAL 1 DAY)
                  AND '2010-07-29'