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 <table>
thanks.
Yes, this is possible. This differs between db engines.
Postgres:
SELECT * FROM <table> LIMIT 50
SQL Server:
SELECT TOP 50 * FROM <table>
...
2.1m questions
2.1m answers
60 comments
57.0k users