看板 PHP 關於我們 聯絡資訊
請問一下, 我想要用select來查詢資料時 where 的條件要怎麼寫阿? 有開始的時間(start) 結束的時間(end) 時間的格式是'2008-11-20' 我想說用where start < '2008-11-20' and end > '2008-11-30'; 直覺上就不可能找到,結果就真的沒有找到... 請大家幫幫忙~~^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.243.66
s5846125 :或許,真的沒有這樣的資料存在? 11/20 18:27
lgzenith :start <= '2008-11-20' 11/20 18:28