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
David Smith
NA
2k
0
SQL QUERY: The Top Two Scores
Mar 30 2013 3:14 AM
SQL QUERY: I trying to come up with sql to choose the top two high score reports for each student. only the top scores will count for each student can someone assist me
StudentID RPT1 RPT2 RPT3
1
3.0
0.3
4.9
2 2.0
5.3
5.9
3 0.0 2.3 5.9
4 1.0 3.3 2.9
For example, for student 1, the RPT1 and RPT3 will be chosen because they are the top high scores
For example, for student 2, the RPT2 and RPT3 will be chosen because they are the top high scores
Reply
Answers (
2
)
Way of connecting tables
SQL Trigger