How to limit the results on a SQL query

前端 未结 5 1814
生来不讨喜
生来不讨喜 2020-12-19 06:38

I\'m wondering is it possible to limit the result of a SQL request?

For example, only return up to 50 rows from:

  SELECT * FROM 
5条回答
  •  猫巷女王i
    2020-12-19 07:04

    In MySQL you would use a LIMIT clause

     SELECT * FROM 
LIMIT 50

提交回复
热议问题