sql 语句的写法?(高分悬赏第一个高人) select identity(int,1,1)as id, name into #t1 from tab1select * from #t1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select (select count(*) from tablename where id<=a.id) as id,namefrom tablename a 我想知道一下,这个sql语句中的a是设么意思! 晕啊a 就是你的table的别名 支持版主,a 是別名,有時表名很長,或是一個意義不明確的名字,使用別名可以簡化或使其名字有一個的意義。如:第一種select * from SalesOfMonday mon,SalesOfTuesday tue where mon.id=tue.id第二種select * from table00001 Order,table00002 Custom where Order.cust_id=Cust.cust_id hi,weixyyou are good 求助一个功能 通过select into 方式建造新表时如何设置colunm为空? 这条sql语句怎么写?请求帮助,紧急! 关于查询数据(数据库与客户端的问题) 数据库置疑,现无法附加。请求高手相助。送分 求一条SQL语句(在线等) 求一个sql语句,关于统计的功能。 急!求一SQL语句... SQL高手请进 select top 为何不能跟参数? sql2000 标准版是不是只能装在win2000 server版上? 在Sql Server中怎样用Sql语句循环怎加15各字段
from tablename a
a 就是你的table的别名
如:
第一種
select * from SalesOfMonday mon,SalesOfTuesday tue where mon.id=tue.id
第二種
select * from table00001 Order,table00002 Custom where Order.cust_id=Cust.cust_id
weixy
you are good