Dot Net Trick
Easy trick for solving a problem in Dot Net, C#, ASP .Net
Pages
Home
Tuesday, 19 February 2013
SQL SERVER – Introduction to JOINs – Basic of JOINs
INNER JOIN
This join returns rows when there is at least one match in both the tables.
SELECT t1.*,t2.*
FROM Table1 t1
INNER JOIN Table2 t2 ON t1.ID = t2.ID
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment