Question
IN ORACLE SQL 2.Find all indexes on SH.CUSTOMERS table. You might need to use several data dictionary views to find all information required. Provide code
IN ORACLE SQL
2.Find all indexes on SH.CUSTOMERS table. You might need to use several data dictionary views to find all information required.
Provide code of all queries and screenshots of the results.
Index name | Column Name | Index Type |
https://docs.oracle.com/cd/E11882_01/server.112/e40540/indexiot.htm#CNCPT1170
3.Find how many rows in SH.CUSTOMERS table have information about customers whose last name contains "ltz".
What query did you use? Provide code of the query and screenshot of the results.
4.Find an execution plan for the previous query. Pin the execution plan.
Provide a screenshot and an explanation of the observed results.
5.Add index to SH.CUSTOMERS table. The index should combine customers' first name and last name.
What query did you use? Provide code of the query and screenshot of the results.
6.Find how many rows in SH.CUSTOMERS table have information about customers whose last name contains "ltz".
What query did you use? Provide code of the query and screenshot of the results.
7.Find an execution plan for the previous query.
Provide a screenshot and an explanation of the observed results.
8.Compare execution plans for both queries (before and after the index).
Provide a screenshot and an explanation of observed results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started