In this example, we will pretend that the student table in the university database is indexed by StudentID (the primary key), Major, Age, MaritalStatus, and HomeZipCode (all secondary keys). Let's pretend a university needed a list of students from the 45462 zip code who are either above the age of 25, married, and majoring in MIS or computer science OR who are under the age of 25 and majoring in computer engineering. Is there a way to use indexes to restrict results to to those entries that fulfill this condition?
In this example, we will pretend that the student table in the university database is indexed by StudentID (the primary key), Major, Age, MaritalStatus, and HomeZipCode (all secondary keys). Let's pretend a university needed a list of students from the 45462 zip code who are either above the age of 25, married, and majoring in MIS or computer science OR who are under the age of 25 and majoring in computer engineering. Is there a way to use indexes to restrict results to to those entries that fulfill this condition?
Chapter7: Database Administration
Section: Chapter Questions
Problem 7SCG: Delete the OWNER_INDEX 3 index from the OWNER table.
Related questions
Question
In this example, we will pretend that the student table in the university
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr