Question: This assignment uses the CH08SURGERY table. If you did not create the table while working in this chapter, create it now by using SQL*Plus Worksheet
This assignment uses the CH08SURGERY table. If you did not create the table while working in this chapter, create it now by using SQL*Plus Worksheet to run the create_table.sql file in the Data\Chapter08 directory on your student disk. Analyze the CH08SURGERY table.
Write one or more queries on data dictionary view(s) to answer these questions:
? How many rows are in the table?
? What is the average length of a row in the table?
? How many columns have no values in any rows? ? What is the average length of the DOCTOR_NAME column?
? How many distinct values are there in the PATIENT_FIRST_NAME and PATIENT_ LAST_NAME columns?
? What is the segment name and extent ID of the tables segment and extent? Save your SQL commands in a file named ho0803.sql in the Solutions\Chapter08 directory on your student disk.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
