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>
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With