MODERN DATABASE MGMT.(PEARSON CHANNEL)
13th Edition
ISBN: 9780136709299
Author: Hoffer
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 8, Problem 8.57PAE
Program Plan Intro
Using indexes to access only records that satisfy the given qualification.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Assume a university database's student table includes StudentID, Major, Age, MaritalStatus, and HomeZipCode indexes (all secondary keys). Assume the university wanted a list of MIS or computer science majors over 25 who were married and from 45462 OR computer engineering majors over 25 who were single. How can indexes guarantee only these records be accessed?
Let's pretend the Student table in a university database is indexed by StudentID
(the primary key), Major, Age, Marital Status, and HomeZipCode (all secondary
keys). Assume the school needed a list of students from the 45462 zip code
who are either over the age of 25, married, and majoring in MIS or computer
science OR who are above the age of 25 and majoring in computer engineering
and are single. How can indexes be used to restrict access to records that
exactly match these parameters?
Assume a university database's student table has indexes on StudentID (the main key) and Major, Age, MaritalStatus, and HomeZipCode (all secondary keys) (all secondary keys). Imagine the university requested a list of students majoring in MIS or computer science who were over the age of 25, married, and from the 45462 zip code OR students majoring in computer engineering who were single and from the 45462 zip code. How can indexes be used to restrict results to to those records that fulfill this condition?
Chapter 8 Solutions
MODERN DATABASE MGMT.(PEARSON CHANNEL)
Ch. 8 - Prob. 8.1RQCh. 8 - Prob. 8.2RQCh. 8 - Prob. 8.3RQCh. 8 - Prob. 8.4RQCh. 8 - Prob. 8.5RQCh. 8 - Prob. 8.6RQCh. 8 - Prob. 8.7RQCh. 8 - Prob. 8.8RQCh. 8 - Explain why you sometimes have to reserve much...Ch. 8 - Why are field values sometimes coded?
Ch. 8 - Prob. 8.11RQCh. 8 - Prob. 8.12RQCh. 8 - Explain why normalized relations may not comprise...Ch. 8 - Prob. 8.14RQCh. 8 - List three common situations that suggest that...Ch. 8 - Explain the reasons why some experts are against...Ch. 8 - Prob. 8.17RQCh. 8 - Prob. 8.18RQCh. 8 - Prob. 8.19RQCh. 8 - Prob. 8.20RQCh. 8 - Prob. 8.21RQCh. 8 - Prob. 8.22RQCh. 8 - One of the strongest recommendations regarding...Ch. 8 - Explain why an index is useful only if there is...Ch. 8 - Indexing can clearly be very beneficial. Why...Ch. 8 - Prob. 8.26RQCh. 8 - Prob. 8.27RQCh. 8 - Describe the role of data dictionary in the...Ch. 8 - Prob. 8.29RQCh. 8 - Prob. 8.30RQCh. 8 - Explain how creating a view may increase data...Ch. 8 - Prob. 8.32RQCh. 8 - Prob. 8.33RQCh. 8 - Prob. 8.34RQCh. 8 - Prob. 8.35RQCh. 8 - Prob. 8.36RQCh. 8 - Prob. 8.37RQCh. 8 - Prob. 8.38RQCh. 8 - Prob. 8.39RQCh. 8 - How can views be used as part of data security?...Ch. 8 - Prob. 8.41RQCh. 8 - Prob. 8.42RQCh. 8 - Consider the following two relations for...Ch. 8 - Prob. 8.44PAECh. 8 - Prob. 8.45PAECh. 8 - Prob. 8.46PAECh. 8 - Prob. 8.47PAECh. 8 - Suppose you are designing a default value for the...Ch. 8 - When a student has not chosen a major at a...Ch. 8 - Prob. 8.50PAECh. 8 - Prob. 8.51PAECh. 8 - Consider the relations in Problem and Exercise...Ch. 8 - Prob. 8.53PAECh. 8 - Prob. 8.54PAECh. 8 - Prob. 8.55PAECh. 8 - Prob. 8.56PAECh. 8 - Prob. 8.57PAECh. 8 - Consider the relations specified in Problem and...Ch. 8 - Prob. 8.59PAECh. 8 - Prob. 8.60PAECh. 8 - Prob. 8.61PAECh. 8 - Prob. 8.62PAECh. 8 - Prob. 8.63PAECh. 8 - Prob. 8.64PAECh. 8 - Problems and Exercises 8-65 through 8-68 refer to...Ch. 8 - Prob. 8.66PAECh. 8 - Problems and Exercises 8-65i5 through 8-68 refer...Ch. 8 - Refer to Figure 4-5 0. For each of the following...Ch. 8 - Prob. 8.69PAECh. 8 - Prob. 8.70PAECh. 8 - Prob. 8.71PAECh. 8 - Prob. 8.72PAECh. 8 - Prob. 8.73PAECh. 8 - Prob. 8.74PAECh. 8 - Prob. 8.75PAECh. 8 - Prob. 8.76PAECh. 8 - Prob. 8.77PAE
Knowledge Booster
Similar questions
- An EMPLOYEES table was added to the JustLee Books database to track employee information. Display a list of each employee’s name, job title, and manager’s name. Use column aliases to clearly identify employee and manager name values. Include all employees in the list and sort by manager name.arrow_forwardThink about a student database with the StudentID as the main key and the Major, Age, Marital Status, and HomeZipCode indexes (all secondary keys). If the institution requested a list of MIS or computer science majors who were over 25, married, and from the 45462 zip code OR computer engineering majors who were single and from the 45462 zip code, then let's pretend they were both over 25 and from the 45462 postcode. How can indexes be used to guarantee that only the data that satisfies this criteria is accessible to users?arrow_forwardAssume that the student table in the database of a university contains indexes on StudentID, which serves as the primary key, as well as Major, Age, MaritalStatus, and HomeZipCode (all secondary keys). Assume that the university needed a list of students who were over the age of 25, married, and from the 45462 zip code to major in MIS or computer science OR students who were majoring in computer engineering and were single and from the 45462 zip code to major in computer engineering. How can indexes be used to make sure that only entries that fulfill these requirements be accessible when they are needed?arrow_forward
- Scenario: The owner of Al Musana Hotel would like to have a database tables that will help him manage the clients and rooms in his building. He wants to record the information about his clients and its occupancy. The hotel has three different room types which are available for daily rent only. As the Database Designer, perform the following tasks to help the owner of the hotel: Create the CLIENTS table using the specification below: Table Name: CLIENTS Field Name/ Data Type column name Size Constraints CID Number 8 PRIMARY KEY CName Varchar2 25 NOT NULL Validate to accept Male or Female only Gender Varchar2 10 Address Varchar2 25 Contact Number 15 Стуре Varchar2 15arrow_forwardA database at a college must support the following requirements: a. For a department, store its number and name. b. For an advisor, store his or her number, last name, first name, and the department number to which the advisor is assigned. c. For a course, store its code and description (for example, DBA210, SQL Programming). d. For a student, store his or her number, first name, and last name. For each course the student takes, store the course code, course description, and grade earned. Also, store the number and name of the student's advisor. Assume that an advisor might advise any number of students but that each student has just one advisor. Design the database for the preceding set of requirements. Determine any functional dependencies. List the tables, columns, and relationships. In addition, represent your design with an E-R diagram.arrow_forwardSince no particular student is affiliated with a number, disclosing the total of all financial assistance for students in Smith dorm is not sensitive. Similarly, since no numbers are mentioned, a list of names of students seeking financial assistance is not sensitive. If only one student in Smith dorm requires funding, the sum of these two lists shows the number for an actual student. What calculations does a database management system have to make to figure out if the list of names contains classified information? What documents does the database management system need to keep on what particular people know in order to decide whether or not the list of names contains classified information?arrow_forward
- Your job as a database designer is to design a database with a schema that captures all the information that galleries need to maintain. Galleries keep information about artists, their names (which are unique), birthplaces, age, and style of art. For each piece of artwork, the artist, the year it was made, its unique title, its type of art (e.g., painting, photograph, sculpture), and its price must be stored. Pieces of artwork also classified into groups of various kinds, for example, portraits, still lives, works by Picasso, or works of the 19th century; a given piece may belong to more than one group. Each group is identified by a name (like those just given) that describes the group and property. Finally, galleries keep information about customers. For each customer, galleries keep that person’s unique ID, name, address, total amount of dollars spent in the gallery, and the artists and groups of art that the customer tends to like. Draw the ER diagram for the database.arrow_forwardUniversity laboratory has several chemists who work on one or more projects. Chemists also may use certain kinds of equipment on each project. The organization would like to store the chemist's employee identification number, his name, upto three phone numbersb,this project identification number and the date on which the project started. Every piece of equipment, the chemist uses has a serial number and a cost. Model the above scenario in database managementarrow_forwardExplainarrow_forward
- Draw ERD for the following situation: Kopolo Airline wants a database to keep track with its flight ticket payment. Multiple passengers (identified by first name, last name, and address) can reserve multiple flights with Kopolo Airline. Each flight is identified by its flight number, departure city, departure time, arrival city, and arrival time. When a passenger book for a flight, the database records the amount due, booking date, seat info and ticket type. When a passenger pays for his/her booking, the database records the payment amount, payment date, and info of passenger who pay for the ticket. Database Management Course Subject: MySQLarrow_forwardA relational database could be able to cut down on the amount of columns in a table that are required to satisfy certain criteria by using an operation known as select.Which is it: the proper or the erroneous interpretation?arrow_forwardGiven the Bank database that contains the following tables (primary keys are underlined and foreign keys are preceded with #):Agency(agencyNumber, agencyName, city, assets)Client (clientNumber, firstName, lastName, clientCity)Account(accountNumber, #agencyNumber, #clientNumber, balance)Loan(loanNumber, #agencyNumber, #clientNumber, amount ) c) Find the average balance of customer accounts, for each agency whose average balance is greater than 10,000. The table result should have the columns agencyNumber and Balance_Averagearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- A Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr