关于数据库更新插入语句

mysql数据库

关于更新语句:

update antique_pro_detail set ctypevalue='X-探伤室'     where ctypeCode='030203';
update antique_pro_detail set ctypevalue='140-200kv'     where ctypeCode='030208';
update antique_pro_detail set ctypevalue='0.5mA'     where ctypeCode='030209';
update antique_pro_detail set ctypevalue='60cm'     where ctypeCode='030210'

关于插入语句:

insert into antique_table(ctypevalue) value('探伤室');

insert into antique_table(ctypevalue,ctypecode) value('探伤室',001);

posted @ 2013-06-14 14:51  gexiaomin  阅读(230)  评论(0编辑  收藏  举报