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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Find Parent's parent through query
Chinmaya Dash
Aug 05
2016
Code
606
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Select
s.
Column
, i.
Column
from
table1 s, table2 r,table4 j,table3 p,table5 i
where
p.Id=j.PId
AND
j.JOB_REFERENCE_NUMBER=r.JOB_REFERENCE_NUMBER
AND
s.SKID_NUMBER=r.SKID_NUMBER
AND
i.LOCATION_ID = j.LOCATION_ID
AND
j.JOB_REFERENCE_NUMBER=
'Val'
Sql Server Query