在某个自断后添加字段
alter table newexample add address varchar(110) after stu_id;
修改表名
rename命令格式:rename table 原表名 to 新表名;
update eventlist_201512_only_temp set CityName='贵阳' where CityName like '%贵阳%';
-
select
*
from
tb
where
instr(col1,
'abc'
)>1
update
tb
set
col1=
replace
(col1,
'abc'
,
''
)
update
tb
set
col1=
replace
(col1,
'abc'
,
'<br/>abc'
)
转载于:https://my.oschina.net/jlan/blog/540317