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
Sumit Kumar Sinha
NA
159
79.9k
find distinct records from two table
Jan 15 2013 5:35 AM
Table Product
PID(PK)
Name
1
Mobile
2
Laptop
3
Fashion
Table Coupons
ID
PID
City
1
2
Bangalore
2
3
Pune
3
2
Mumbai
4
1
Bangalore
5
2
Mumbai
I want to select distinct City name records joining two tables
(if i have five different city then its one one record from each city).
Pl'z suggest me, how can i fetch this records.
I trired using distinct keyword to fetch records but i am unable to find desire output....
Reply
Answers (
7
)
Sql Query
SQL SERVER 2000