sql server - If I have two tables I want to use join operation and if I have left join then what is the use of right join? -
if have 2 tables want use join operation , if have left join use of right join?
i have 2 tables , b
i use
select * left outer join b on a.id=b.id
if want b table outer
select * b left outer join on b.id=a.id
then use of right outer join?
having both joins helps 1 write intuitive scripts easier understand. similar why programming languages have less comparison operator greater comparison operator. in theory, (if not all) code rewritten use 1 of them, code more difficult understand , maintain.
Comments
Post a Comment