Hi,
how to use top with join in sqlserver ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pankaj Kumar ChoudharyPosted May 13, 2015, 8:15 AM
select top(1) student.sname , Marks.marks from student
left outer join
Marks
on
student.sid=Marks.sid
here i use the top command with join you can use any type of join like left,right ,inner join as per your requirment....
Nanhe SiddiquePosted May 13, 2015, 6:47 AM
Gowtham RajamanickamPosted May 13, 2015, 6:46 AM
Gowtham RajamanickamPosted May 13, 2015, 6:45 AM