List all zip codes that are not assigned to students. Write two versions: using a NOT EXISTS and using an OUTER JOIN. (82 rows)
What will be an ideal response?
```
SELECT zip
FROM zipcode z
WHERE NOT EXISTS (SELECT null
FROM student s
WHERE s.zip=z.zip)
```
```
SELECT z.zip
FROM zipcode z, student s
WHERE z.zip = s.zip (+)
AND s.zip IS NULL
```
```
SELECT z.zip
FROM zipcode z LEFT OUTER JOIN student s
ON z.zip = s.zip
WHERE s.zip IS NULL
```
You might also like to view...
A custom slide layout can be duplicated and renamed
Indicate whether the statement is true or false
The ____ requires manual installation and configuration, making this package the most difficult to apply.
A. Essentials Package B. Complete Package C. Noinstall Archive D. Patch Archive
How can logs help in troubleshooting?
What will be an ideal response?
What is the best way to protect against data loss on a stolen Windows 7 personal laptop?
A) Software piracy B) Spyware C) Malware D) Adware