mysql> SELECT something FROM tbl_name -> WHERE DATE_SUB(CURDATE(),INTERVAL 30 DAY) <= date_col;. The query also selects rows with dates that lie in the future.
確定! 回上一頁