Laboratory Activity No 5 - Displaying Data From Multiple Tables
Laboratory Activity No 5 - Displaying Data From Multiple Tables
Midterm Period
Instructions:
- Connect to the SQL Plus, SQL Developer, or SQL Live using a database account. Example:
ORA2_PDBRAP
- Analyze and perform the problems below and answer it to the best of your ability
- Include screenshots of your complete SQL Statements and the result/s.
- Include a brief description/caption of each image
- There must be your full name for each image (see example below)
- Save your work as SURNAME_Lab5.DOCX (Ex. Pagaduan_Lab5.DOCX).
- Each item corresponds to one (1) point, total points is 11.
Sample: Answer:
Query:
Question:
Display all the departments' information.
Answer: Output:
Query:
SQL> SELECT * 2. The HR department needs a report of all
FROM departments; employees. Write a query to display the
last name, department number, and
Output: department name for all employees.
Answer:
Query:
Questions:
Output: Output:
Answer: Answer:
Query: Query:
Output: Output:
Answer:
Query:
Output:
Answer:
Output:
Answer:
Query:
Output: