Answers for "select top 5 records in sql"

SQL
1

select top 10 rows in sql

SELECT TOP 10 * FROM Customers;
Posted by: Guest on February-21-2021
0

rownum in sql

SELECT ROWNUM, a.*
FROM (SELECT customers.*
      FROM customers
      WHERE customer_id > 4500
      ORDER BY last_name) a;
Posted by: Guest on September-24-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language