SQL语句怎么查询在某日期之前的数据
(2016-06-06 21:08:22)
标签:
it查询在某日期之前的数 |
select * from 表名 where rq between(to_date(' 2010-2-10' ,' yyyy-mm-dd' )) and (to_date(' 2010-2-19' ,' yyyy-mm-dd' ))
select * from table where rq> =to_date( ' 2010-2-10' ,' yyyy-mm-dd' ) and larq < =to_date( ' 2010-2-19' ,' yyyy-mm-dd' )
加载中…