GS2210 Setoperators
GS2210 Setoperators
___________________________________________________________________
Course: GS2210
Skill Sheet: Set Operators
1
Tasks:
Create queries as directed screen capture the resulting tables in a word doc. Combine your
scripts (just the 10) into one file and submit with the word doc.
Using SQL Developer import the 3 excel files to create 3 separate tables.
4. Select the VEHICLE_2016.xlsx excel file in the tabular folder using the Browse... button.
A 5-Step Data import wizard will appear.
5. Leave the defaults for Step 1 and click Next.
2
6. On Step 2, Name the table VEHICLE_2016
10. In a new worksheet write queries to return the number of rows in each table.
3
11. Write a query (GS2210_<Initials>_01.sql) to find the vehicles that were in the lot in
2016 and 2017 (INTERSECT).
4
12. Write a query (GS2210_<Initials>_02.sql) to find the common vehicles in 2017 and
2018.
5
15. Write a query (GS2210_<Initials>_05.sql) to determine total number of vehicles parked
in the lot for all years without duplicates (UNION).
18. Write a query (GS2210_<Initials>_07.sql) to reveal which of your contacts did not
attend the party (MINUS).
6
19. Run the createCourses.sql script provided.
20. Create and run the following script to create a SEMESTER1 table.