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
Reshma Thomas
NA
3
826
plz answer to this query
Nov 12 2015 1:46 PM
Write a query to display customer name & rating for all pairs of customers having the same rating, each pair should come once only. There should be three columns displayed as Customer1, Customer2, rating. Eg – Ram, Sita, 500. Ram and Sita are pair of customers who have the same rating as 500.Sort the result by rating in descending order and then by customer 1 in descending order and then by customer 2 in descending order.
Reply
Answers (
3
)
View data in 4 tables with join
Get Hour & Time in SQL