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
CROSS JOIN
This join is a Cartesian join that does not necessitate any condition to join. The resultset contains records that are multiplication of record number from both the tables.
SELECT t1.*,t2.*
FROM Table1 t1
CROSS JOIN Table2 t2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment