第1个回答 2019-02-06
没太明白你的意思
是删除列么
删除列语句:
Alter
table
tablename
Drop
column
Columnname
根据字符判断,如果首字符都是英文的话
delete
from
table
where
ascii(left('名称',1))<128
测试了
这个对
delete
from
table
where
编号
in
(
select
编号
from
table
group
by
编号
having
count(编号)>1)
and
名称
not
in
(
select
名称
from
table
where
ascii(left(名称,1))>128)