Practice 1: Introduction To Oracle9i: SQL 1
Practice 1: Introduction To Oracle9i: SQL 1
1. Initiate an iSQL*Plus session using the user ID and password provided by the instructor.
2. iSQL*Plus commands access the
database. True/False
3. The following SELECT statement executes successfully:
SELECT last_name, job_id, salary AS
Sal FROM employees;
True/False
4. The following SELECT statement executes successfully:
SELECT *
FROM job_grades;
True/False
5. There are four coding errors in this statement. Can you identify them?
6. Show the structure of the DEPARTMENTS table. Select all data from the table.
7. Show the structure of the EMPLOYEES table. Create a query to display the last name, job code,
hire date, and employee number for each employee, with employee number appearing first. Save
your SQL statement to a file named lab1_7.sql.