sql數(shù)據(jù)庫(kù)怎么加上時(shí)間條件查詢?
sql sever select * from 表名 where 時(shí)間 between '開(kāi)始時(shí)間' and '結(jié)束時(shí)間'oracle如:
select * from 表名 where 時(shí)間 >=to_date('2009-01-01','yyyy-mm-dd') and 時(shí)間 <= to_date('2009-02-01','yyyy-mm-dd')
sql數(shù)據(jù)庫(kù)怎么加上時(shí)間條件查詢?
sql sever select * from 表名 where 時(shí)間 between '開(kāi)始時(shí)間' and '結(jié)束時(shí)間'oracle如:
select * from 表名 where 時(shí)間 >=to_date('2009-01-01','yyyy-mm-dd') and 時(shí)間 <= to_date('2009-02-01','yyyy-mm-dd')