各位大虾救我!关于sql语句,挺难 select a from (select a,b,c from abc union all select a,c,b from abc) T 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a from (select a,b,c from abc union all select a,c,b from abc) tmp最后随便给一个别名就行了。 playyuer(双规干部) ,什么意思啊,呵呵,我可是菜鸟啊! select a from (select a,b,c from abc union all select a,c,b from abc) A 在sql 中,子查询必须指定一个别名。select a from (select a,b,c from abc union all select a,c,b from abc) T --查询结果别名是 TT 就相当于一个表 --只差一个别名.--对于查询语句的再利用,必须为它指定一个别名select a from (select a,b,c from abc union all select a,c,b from abc) a select 语句 关于将EXCEL表导入数据库的存储过程 求写简单的代码 怎样以计算列作为分组(Group by)依据 高分求助,票号输出问题,有点麻烦 SQLServer2000更改sa用户密码 请问这样写有没有什么问题? 有关存储过程加密的两个问题? 紧急问题 !! 关于 MS SQLSERVER 7.0 中 使用 bulk insert 时的 FormatFile 中的问题 高手请进--简单问题--“不能连接到数据库”如何处理 问个问题。顺便放点分。过个好年! SELECT SUM(quantity) AS quantity FROM test WHERE...的性能问题
最后随便给一个别名就行了。
select a from
(select a,b,c from abc union all select a,c,b from abc) T --查询结果别名是 T
T 就相当于一个表
select a from (select a,b,c from abc union all select a,c,b from abc) a