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 Constraints(CHECK)
The SQL CHECK constraint is used to limit value range that can be placed in a column. The CHECK Constraint enables a condition to che...
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 Constraints(NOT NULL)
The NOT NULL constraint forces a column to NOT accept NULL values. The NOT NULL constraint field to always contain a value. This means th...
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