select * from spxt_log_carinfo t where rowid = (select max(rowid) from spxt_log_carinfo t1 where t.pid = t1.pid)
Find a table to determine whether there are duplicates based on rowid
select * from spxt_log_carinfo t where rowid = (select max(rowid) from spxt_log_carinfo t1 where t.pid = t1.pid)
Find a table to determine whether there are duplicates based on rowid