select * from table where riqi between to_date('2002-05-15','yyyy-mm-dd') and to_date('2003-05-15','yyyy-mm-dd');