SELECT *
FROM table1 RIGHT JOIN table2 ON table1.id1=table2.id2or inside the WHERE condition as:
SELECT *
FROM table1, table2
WHERE table1.id(+)=table2.id
FROM table1, table2
WHERE table1.id(+)=table2.id
The LEFT JOIN is achieved with = table2.id(+) instead
No comments:
Post a Comment
With great power comes great responsibility