Home 程式語言 PHP sql語法:如何正確且快速... 程式語言PHPSQL語法 sql語法:如何正確且快速的取得昨天的日期? By 傑克老師 - 573 3 Sql 語法說難不難,但也沒那麼簡單;特別是如果鑽牛角尖的話;那就更複雜,像要取昨天的日期?參考底下的語法,那麼如果要取得明天呢?你想到了嗎?Example:SELECT * FROM stats WHERE date =(CURDATE() + INTERVAL -1 DAY) -傑克老師網路創業顧問站內所有文章歡迎轉貼,但請註明出處及網址- 3 評論 第一次上行銷請多多指教。 回覆 贊讚 回覆 粗體, 斜體, M.56 回覆 回覆留言 取消回覆 Please enter your comment! Please enter your name here You have entered an incorrect email address! Please enter your email address here Save my name, email, and website in this browser for the next time I comment. 用電子郵件通知我後續的迴響。 新文章使用電子郵件通知我。 Δ
第一次上行銷請多多指教。
贊讚
粗體, 斜體, M.56