What does TOP 1 mean in an sql query?

前端 未结 6 1887
情书的邮戳
情书的邮戳 2021-01-14 03:37

What does TOP 1 mean in an sql query?

SELECT TOP 1 RequestId 
FROM PublisherRequests
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-14 04:07

    It limits the number of rows returned from the query to just 1. Its the same as Limit 1 in MySQL.

提交回复
热议问题