select * from tbl_contact e where e.dob between to_date('26-APR-2000','DD-MON-YEAR') and to_date('03-MAY-2002','DD-MON-YEAR')
如何解决此问题。
答案 0 :(得分:2)
如果表格的dob字段类型为date,则以下查询将对您有所帮助:
select * from tbl_contact e where e.dob between
to_date('26-APR','DD-MON') and to_date('03-MAY','DD-MON')
我希望能帮到你