example in pubs by using a full outer join, what you are doing is a cross join and for every row in one table all rows in the otherv tbale will be selected
Code:
use pubs
go
select * from authors a
full outer join publishers p on a.au_id = p.pub_id
cross join
Code:
use pubs
go
select * from authors ,publishers
if the tables have the same number off columns you could do a union
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.