select count(*) tt from crm_cisco_call_detailwhere DateTime between to_date('2016-4-5 00:00:00','yyyy-mm-dd hh24:mi:ss') and to_date('2016-05-02','yyyy-mm-dd hh24:mi:ss')