如何将这三句话合并?

fnzh110 2012-11-08 07:46:04
in sqlite:
create table temp as select * from quote where code='00001'and date='20101025' ;
alter table temp add lin ;
update temp set lin=200 where code='00001';

请问,上面这三句话如何合并成一句简洁的表达?
...全文
82 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ACMAIN_CHM 2012-11-08
  • 打赏
  • 举报
回复
create table temp as 
select *,200 as  lin from quote 
where code='00001'and date='20101025' ;

2,209

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 其他数据库
社区管理员
  • 其他数据库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧