例子 一辆车 多次使用 如何安排 时间不会重复;
select *
from TBOP_PCDJ t
where(t.YCKSSJ<=to_date('2020-03-05 17:38:15','yyyy/MM/dd hh24:mi:ss')
and t.YCKSSJ >=to_date('2020-03-04 17:28:15','yyyy/MM/dd hh24:mi:ss')
and t.TO_ROW_GUID = '{d89e9cc8-0e8b-4f58-9334-5d2f83afbd41}')
or (t.YCJSSJ<=to_date('2020-03-05 17:38:15','yyyy/MM/dd hh24:mi:ss')
and t.YCJSSJ >=to_date('2020-03-04 17:28:15','yyyy/MM/dd hh24:mi:ss')
and t.TO_ROW_GUID = '{d89e9cc8-0e8b-4f58-9334-5d2f83afbd41}')
网友评论