Top Menu
Home
Search This Blog
SQL Tutorial
Home
Unlabelled
SQL SELECT TOP Clause
SQL SELECT TOP Clause
By
Unknown
At December 10, 2016
0
Share on Facebook
Share on Twitter
The SELECT TOP clause is used to specify the number of records to return.
Syntax:
SELECT TOP number column_name,....
FROM table_name
OR
SELECT TOP number *
FROM table_name
As you see, we have like this "Candidate" table.
Example:
select Top 3 * from CANDIDATE
Output:
Share on Facebook
Share on Twitter
You Might Also Like
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
Popular Posts
SQL LIKE Operator
The LIKE operator is used in a WHERE clause to search for a specified pattern record in a column. The "%" sign is used to define...
SQL LEFT JOIN
The LEFT JOIN returns all record from the left table (table_1), with the matching record in the right table (table_2). The result is NULL i...
SQL WHERE Clause
The WHERE clause is used to filter records by conditionally. The WHERE clause is used to select only those records that fulfill a specifi...
Powered by
Blogger
.
Stay Connected
Sidebar Ads
Contact Form
Name
Email
*
Message
*
Report Abuse
About Me
Unknown
View my complete profile
Blog Archive
▼
2016
(32)
▼
December
(32)
SQL Functions
SQL DROP
SQLCROSS JOIN
SQL FULL OUTER JOIN
SQL RIGHT JOIN
SQL LEFT JOIN
SQL INNER JOIN
SQL Joins
SQL BETWEEN Operator
SQL IN Operator
SQL LIKE Operator
SQL SELECT TOP Clause
SQL DELETE Command
SQL UPDATE command
SQL INSERT INTO Command
SQL ORDER BY Keyword
SQL AND & OR Operators
SQL WHERE Clause
SQL SELECT DISTINCT Command
SQL SELECT Commands
MS-SQL Date Functions
ALTER TABLE
AUTO INCREMENT or IDENTITY
SQL Constraints(DEFAULT)
SQL Constraints(CHECK)
SQL Constraints(UNIQUE)
SQL Constraints(NOT NULL)
SQL Constraints(FOREIGN KEY)
SQL Constraints(PRIMARY KEY)
SQL Table
SQL Commands
Introduction
Designed by
OddThemes
| Distributed By
Gooyaabi Templates
Post a Comment