Skip to Content
Oracle SQL and PL/SQL Handbook: A Guide for Data Administrators, Developers, and Business Analysts
book

Oracle SQL and PL/SQL Handbook: A Guide for Data Administrators, Developers, and Business Analysts

by John Adolph Palinski
August 2002
Intermediate to advanced content levelIntermediate to advanced
528 pages
10h 12m
English
Addison-Wesley Professional
Content preview from Oracle SQL and PL/SQL Handbook: A Guide for Data Administrators, Developers, and Business Analysts

Practice

1: Log on to SQL*Plus.
2: Enter and execute the following command in SQL*Plus:
							select fk_department, last_name from employee;
						
3: Enter and execute the following command in SQL*Plus (enter the command on multiple lines):
							select fk_department, last_name
							from employee;
							order by fk_department, last_name;
						
4: List the command entered in question 3.
5: List the first line of the current command.
6: Change last_name to first_name.
7: Save the current command to a file.
8: Execute the file.
9: Create the tables that were designed in Chapter 1.
10: Drop the tables that you created in exercise 9.
11: Re-create the tables created in Chapter 1, with the following constraints:

Each table should have PRIMARY KEY constraints.

Child tables should have FOREIGN ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert PL/SQL Practices for Oracle Developers and DBAs

Expert PL/SQL Practices for Oracle Developers and DBAs

John Beresniewicz, Adrian Billington, Martin Büchi, Melanie Caffrey, Ron Crisco, Lewis Cunningham, Dominic Delmolino, Sue Harper, Torben Holm, Connor McDonald, Arup Nanda, Stephan Petit, Michael Rosenblum, Robyn Sands, Riyaj Shamsudeen
Beginning Oracle SQL: for Oracle Database 12c, Third Edition

Beginning Oracle SQL: for Oracle Database 12c, Third Edition

Lex De Haan, Tim Gorman, Inger Jørgensen, Melanie Caffrey

Publisher Resources

ISBN: 0201752948Purchase book