Question: Objectives Compare different queries using EXPLAIN PLAN Login as system. Switch to pdborlc container (see troubleshooting tips linked under help section on d21) Study the

Objectives Compare different queries using EXPLAIN PLAN Login as system. Switch to pdborlc container (see troubleshooting tips linked under help section on d21) Study the structure of SHCUSTOMERS table. This table is part of the same sample schema 1. 2. as What query did you use? Provide code of the query and screenshot of the results. 3. 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 Index name and screenshots of the results Column Name Index T 4. Find how many rows in SHCUSTOMERS table have information about customers whose last name contains " What query did you use? Provide code of the query and screenshot of the results. 5. Find an execution plan for the previous query. Pin the execution plan. Provide a screenshot and an explanation of the observed results. 6. 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. 7. Find how many rows in SHCUSTOMERS table have information about customers whose last name contains " What query did you use? Provide code of the query and screenshot of the results. 8. Find an execution plan for the previous query. Provide a screenshot and an explanation of the observed results. Comnare execution nlans for both cueries (before and after the index) Objectives Compare different queries using EXPLAIN PLAN Login as system. Switch to pdborlc container (see troubleshooting tips linked under help section on d21) Study the structure of SHCUSTOMERS table. This table is part of the same sample schema 1. 2. as What query did you use? Provide code of the query and screenshot of the results. 3. 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 Index name and screenshots of the results Column Name Index T 4. Find how many rows in SHCUSTOMERS table have information about customers whose last name contains " What query did you use? Provide code of the query and screenshot of the results. 5. Find an execution plan for the previous query. Pin the execution plan. Provide a screenshot and an explanation of the observed results. 6. 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. 7. Find how many rows in SHCUSTOMERS table have information about customers whose last name contains " What query did you use? Provide code of the query and screenshot of the results. 8. Find an execution plan for the previous query. Provide a screenshot and an explanation of the observed results. Comnare execution nlans for both cueries (before and after the index)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
