Answers for "how to fetch first 10 rows in sql"

SQL
0

SQL SELECT TOP Equivalent in oracal

syntax -> SELECT column_name(s)
FROM table_name
WHERE ROWNUM <= number 
////example///
SELECT *
FROM Persons
WHERE ROWNUM <=5
Posted by: Guest on January-25-2021
0

how to fetch first 10 rows in sql

select top 100 * from myTable
select top 100 colA, colB from myTable
Posted by: Guest on October-14-2021
-1

How to display top 50 rows?

In MySQL, top 50 rows are displayed by using this following query:
SELECT * FROM
LIMIT 0, 50;
Posted by: Guest on December-22-2020

Code answers related to "how to fetch first 10 rows in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language