先创建表 create table cat (catId int , catName varchar(10)) 添加数据 insert into cat values(1,aa) 重复添加 select distinct * into temp from cat delete from cat insert into cat from temp drop table temp
时间: 2024-10-12 02:53:04
先创建表 create table cat (catId int , catName varchar(10)) 添加数据 insert into cat values(1,aa) 重复添加 select distinct * into temp from cat delete from cat insert into cat from temp drop table temp