oracle日期時(shí)間查詢(xún)?
select 目標(biāo)列 from 表名 where 時(shí)間列=to_date('時(shí)間','yyyy-mm-dd hh24:mi:ss');比如select name from birth_info where birthday between to_date ('2001-03-05','yyyy-mm-dd')andto_date ('2001-03-15','yyyy-mm-dd');
oracle日期時(shí)間查詢(xún)?
select 目標(biāo)列 from 表名 where 時(shí)間列=to_date('時(shí)間','yyyy-mm-dd hh24:mi:ss');比如select name from birth_info where birthday between to_date ('2001-03-05','yyyy-mm-dd')andto_date ('2001-03-15','yyyy-mm-dd');