2005-12-08 SQL Oracle データの中の日付項目 hoge_date で、2004年でかつ5日のものだけ取り出したい 2004/10/05 2004/01/05 とか select hoge, foo from test_table where extract(year from hoge_date) = 2004 and extract(day from hoge_date) = 5