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
raja ramesh
NA
50
108.4k
How to write select statement for find friends( like facebook find friends concept) ?
Jan 24 2012 6:28 AM
Hi,
I have two tables
1.User table - UserId is primary key
2.Friends table - FriendsId is primary keys
In User table I have all users list
I want to get records from following relation
User->Friend->SubFriend
User has some Friends and
Each Friend has some subfriends
requirement:
How to write select statement for get all subfriends list,
Thank you in advance
Reply
Answers (
1
)
Word Press
Compare databases