发布时间:2014-05-13 14:34:24
一、insert(增)1、将一个表的某些字段重新建为一个表insert into `tbnameA`(a,b,c) select a,b,c from `tbnameB`二、delete(删)1、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录delete from tbname where peopleId in (select peopleId from tbname group by peopleId.........【阅读全文】