select loginname,endtime from dailysessionpre_table  where days='2020-11-16' and length(acctsessiontime) > 30 and endtime
between
              to_date('15/11/2020 23:45:00', 'dd/mm/yyyy hh24:mi:ss') and
              to_date('16/11/2020 00:15:00', 'dd/mm/yyyy hh24:mi:ss');
              
select loginname,endtime from dailysessionpre_table  where days='2020-11-16' and length(acctsessiontime) > 30 and endtime < to_date('16/11/2020 00:15:00', 'dd/mm/yyyy hh24:mi:ss');
                                   
            
            
              
              阅读(868) | 评论(0) | 转发(0) |