LIMIT keyword has the following syntax: SELECT ...
LIMIT [offset_value,] number_of_records
- indicates which record to start from
- is optional and may be skipped
and number_of_records value indicates how many records to return in a result set.
The SQL TOP clause is used to fetch a TOP N number or X percent records from a table.
Note: All the databases do not support TOP clause. For example MySQL supports LIMIT clause to fetch limited number of records and Oracle uses ROWNUM to fetch limited number of records.
The basic syntax of TOP clause with SELECT statement would be as follows:
SELECT TOP number|percent column_name(s)