sql里top后面的 *表示什么意思

2025-03-09 07:48:16
推荐回答(4个)
回答1:

top 后面是 取数范围,比如前10位( top 10)、100位(top 100)

回答2:

select top 3 * from exloginrecord 查询表中所有列
select top 3 id from exloginrecord 查询表中id列

加top算是个条件

回答3:

*表示选择表里的所有字段。

回答4:

表示查询表的全部数据