删掉重复的数据
delete from tb_charging_log c where c.session_id in (
select b.session_id from (
select
trunc(a.start_time, ‘mi’),
trunc(a.end_time, ‘mi’),
a.bus_job_no,
a.station_no,
row_number() over(partition by trunc(a.start_time, 'mi'),
trunc(a.end_time, 'm
原创
2021-04-01 14:54:11 ·
129 阅读 ·
0 评论