i want query that
i have two table from 1st table i want only sno colmn and 2nd table i want all colmn
how to write join query for this
Loading
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.
Riyaz AkhtarPosted Jan 28, 2014, 1:39 AM
http://www.aspdotnet-suresh.com/2011/12/different-types-of-joins-in-sql-server.html
http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/
muthukumarPosted Jan 28, 2014, 1:27 AM
Riyaz AkhtarPosted Jan 28, 2014, 1:24 AM
see below query for your requirement:
SELECT a.sno,b.* FROM table1 a inner join table2 b on a.pkey =b.fkey