TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
RAHUL PATIL
NA
145
12.2k
Top 5 salary amount
Jun 17 2016 6:34 AM
Following are my sql table
create table sales_employee
(
name varchar(50),
territory varchar(50),
sales_amount int
)
And Follwing are the records
name territory sales_amount
A X 100
B X 200
C X 200
D X 300
E X 400
F Y 300
G Y 300
H Y 500
I Y 600
J Z 200
K Z 700
So i need to find top 5 salary amount from above records but the condition is without using TOP keyword..
How i get that output without using TOP?
Reply
Answers (
3
)
Run time Error in C#
How can i use if statement within case statement in sql?