Loading Consent Dialog
Optimizer and Query
Create Stat Table
Index Materialized View
Oracle Handling Invalidation
Understanding Domain Indexing
Create Reverse Index
Oracle Descending Index
Index Organized Tables
index Organized Table
Data Dictionary Views
Advanced Queuing Data
Creating Descending Index - Exercise
Course project: Creating a descending index
Create a descending index.
This exercise is worth 10 points.
In this exercise, you will create a descending index as part of your
database. This index will be based on the date a sale took place on, so that it can be used in queries requesting the most recent sale first.
Review the fact file to find out more information about the House-O-Pets and their its Oracle database.
Click the View Table link below to see the contents of the tables in the House-O-Pets database.
View Petstore Tables
You can download a correct version of the script for this exercise, descind.sql, from the Resources page.
You have discovered that there is a frequent need in the House-O-Pets Sales Department for reports that display the most recent sales first. A descending index on the
column would provide this information in presorted order.
Write a script to create a descending index on the
column in the
table. You should give the index a name of
The keyword for defining a descending index comes at the end of the
Submitting your exercise
Type (or cut and paste) your plan into the box below to submit your answers.
button when you are finished to submit the exercise.
Remember to submit all of your answers at once.