当前位置: 代码迷 >> Sql Server >> 有关连接两个句子的有关问题
  详细解决方案

有关连接两个句子的有关问题

热度:64   发布时间:2016-04-27 20:55:29.0
有关连接两个句子的问题
select   *   from   admin   where   id=7
select   a   , 'aaa '   as   b   into   biao   from   admin

有没有可能把这两个句子连成一个句子   ?

------解决方案--------------------
--查询id=7的记录
select * from admin where id=7

--生成新表biao
select a , 'aaa ' as b into biao from admin

两者无法合并
  相关解决方案