从tablename中选择1表示 [英] select 1 from tablename means
本文介绍了从tablename中选择1表示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
与sql server中的表名select *相比,表名中的select 1是什么意思。
可以详细解释一下吗?
what is mean by select 1 from table name when compared to select * from table name in sql server.
can any one explain detailly ?
推荐答案
看看这里: SELECT子句(Transact-SQL) [ ^ ]。您感兴趣的是:
Have a look here: SELECT Clause (Transact-SQL)[^]. You're interested in:
TOP<br />
<select_list><br />
*
尝试执行该语句并自己比较结果。
您将看到可能的输出。 :)
-KR
Try executing both the statement & compare the result by yourself.
You'll see the possible output. :)
-KR
这篇关于从tablename中选择1表示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文