...

Database Managment - Sql

Back to Course

Lesson Description


Lession - #1309 Sql Top Clause


The SQL TOP clause is utilized to fetch a TOP N number or X percent records from a table.



Syntax for Top Clause




SELECT TOP number|percent column_name(s>
FROM table_name WHERE [condition]




Example:



Online compiler