DB2怎么查询在两个日期之间数据

2024-12-27 00:01:47
推荐回答(1个)
回答1:

select * from userid.temptzxx where scrq between '2003-01-01 ' and '2003-09-01 '
select * from userid.temptzxx where scrq > = '2003-01-01 ' and scrq <= '2003-09-01 '