删除sql相同记录的命令格式
elete YC_DispHis_Rec_tmp SELECT * INTO YC_DispHis_Rec_tmp FROM YC_DispHis_Rec WHERE (1 = 2) insert into YC_DispHis_Rec_tmp Select * from YC_DispHis_Rec SELECT * FROM YC_DispHis_Rec WHERE (申请人员 = '王擎123') DELETE FROM YC_DispHis_Rec WHERE (id NOT IN (SELECT MAX(ID) FROM YC_DispHis_Rec GROUP BY 派车编号)) DELETE FROM YC_DispRec_Info WHERE (id NOT IN (SELECT MAX(ID) FROM YC_DispRec_Info GROUP BY 派车编号))
- 上一篇:“城市物联网密钥管理系统”申领,住建部全面放开 2020/4/10
- 下一篇:停车场系统设计原则 2014/9/19