Set A is squares and Set B is red shapes. For each one of the joins above, describe what will be shown. For example: Join 1 will show circles that are also purple. 1. FROM TableA ALEFT JOIN TableB...


Set A is squares and Set B is red shapes.


For each one of the joins above, describe what will be shown.For example: Join 1 will show circles that are also purple.


SQL JOINS<br>A<br>|B<br>A<br>B<br>SELECT <select_list><br>1. FROM TableA A<br>LEFT JOIN TableB B<br>ON A.Key = B.Key<br>SELECT <select_list><br>2. FROM TableA A<br>RIGHT JOIN TableB B<br>ON A.Key = B.Key<br>A<br>В<br>A<br>В<br>SELECT <select_list><br>A<br>7. FROM TablcA A<br>INNER JOIN TableB B<br>ON A.Key = B.Key<br>SELECT <select_list><br>3 FROM TableA A<br>LEFT JOIN TableB B<br>ON A.Key = B.Key<br>WHERE B.Key IS NULL<br>SELECT <select_list><br>4. FROM TableA A<br>RIGHT JOIN TableB B<br>ON A.Key = B.Key<br>WHERE A.Key IS NULL<br>A<br>A<br>SELECT <sclect_list><br>5. FROM TableA A<br>FULL OUTER JOIN TableB B<br>ON A.Key = B.Key<br>SELECT <sclect_list><br>FROM TableA A<br>FULL OUTER JOIN TableB B<br>6. ON A.Key = B.Key<br>WHERE A.Key IS NULL<br>OR B.Key IS NULL<br>OCL Moffatt, 2008<br>

Extracted text: SQL JOINS A |B A B SELECT 1. FROM TableA A LEFT JOIN TableB B ON A.Key = B.Key SELECT 2. FROM TableA A RIGHT JOIN TableB B ON A.Key = B.Key A В A В SELECT A 7. FROM TablcA A INNER JOIN TableB B ON A.Key = B.Key SELECT 3 FROM TableA A LEFT JOIN TableB B ON A.Key = B.Key WHERE B.Key IS NULL SELECT 4. FROM TableA A RIGHT JOIN TableB B ON A.Key = B.Key WHERE A.Key IS NULL A A SELECT 5. FROM TableA A FULL OUTER JOIN TableB B ON A.Key = B.Key SELECT FROM TableA A FULL OUTER JOIN TableB B 6. ON A.Key = B.Key WHERE A.Key IS NULL OR B.Key IS NULL OCL Moffatt, 2008

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here