Modern Database Management
13th Edition
ISBN: 9780134792293
Author: Hoffer
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 8, Problem 8.49PAE
When a student has not chosen a major at a university, the university often enters a value of “Undecided” for the major field. Is “Undecided” a way to represent the null value? Should it be used as a default value? Justify your answer carefully.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
It is possible to have both a primary key and a candidate key for the same attribute.
When a student has not selected a major at a university, the university typically puts a value of "Undecided" for the
major field. Is "Undecided" a method to express the null value? Should it be used as a default value? Justify your
answer carefully.
A derived attribute can be stored in a table or calculated on each occasion that it is required. An example of a derived attribute is your Grade Point Average which is calculated by adding together a score for each unit (e.g., HD=4, D=3, C=2, P=1, N=0) and dividing that by the number of units you have completed. Explain how the decision as to whether the Grade Point Average would be stored in a table or calculated would be made.
You are administering a database in a large retail company that records sales at each of the company’s stores. Tuning the database to improve performance by adding indexes and optimising query execution is an important ongoing aspect of the physical database design.
Which attributes in a database such as this (apart from the primary key) are likely to BENEFIT from being indexed?
Which attributes would you generally avoid indexing, and why?
Chapter 8 Solutions
Modern Database Management
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
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.Similar questions
- When defining a variable, the 'type' is not the only thing to indicate. Each variable has its own characteristics and data types. describe how this approach lets us explain any variable's attributes.arrow_forwardIf all that is known about a variable is its "type," then the information that may be gathered may be insufficient. Each variable is comprised of a number of attributes as well as different sorts of data. Please provide an example of this idea being put into practise to explain how it might be utilised to describe a particular variable.arrow_forwardThe definition of a variable is required to contain, in addition to the variable's name, the variable's "type" as well as the variable's "additional attributes." Every variable may be assigned to more than one data type. If you could describe the concept, would it be possible for us to more accurately define any variables in the future?arrow_forward
- A parameter comes from where while a statistic comes from where?arrow_forwardComputer Science Create a SQL Code for the following ER diagram/Schema. choose any data type you think is appropriate for each of the attributes (int, numeric, varchar, etc.). Make sure that your SQL code includes all the constrains depicted in the schema! User Follows Follows u id follower id u id username u id birthyear User username birthyear Event Participates Participates u id e id e id topic day e id month day Event month topic (a) (b)arrow_forwardThe same characteristic may serve as both the main key and a candidate key.arrow_forward
- Using "type" alone to designate a variable is insufficient. Variables are identifiable by their data type and other characteristics. The next logical step is determining how to apply this concept to describe any given variable.arrow_forward2. Which of the following statements is true about bias? A. The more complex the model, the larger its bias. OB. The more complex the model, the smaller its bias. OC. As model complexity increases, the bias drops to a specific value and then rises. OD. As model complexity increases, the bias rises and then drops to a specific value.arrow_forward10. Determine the average salary of the employees who do not live in Greensboro. Rename the average salary as "Avg Sal". [Note: use ' or '¹!=']arrow_forward
- Determine possible values to be considered for the age field in a student record at a university, Variation of default in the age field for school within university or degree sought as per student characteristic and some fundamental problem with this field.arrow_forwardQuestion 17 Which of the following is another term for a recursive relationship? Group of answer choices ternary relationship binary relationship supertype relationship subtype relationship unary relationshiparrow_forwardMake a relational diagram with the following data:1. Patient Entity:RUT (Primary Key): IntegerName: StringLast name: StringDate of Birth: DateEmail: StringAddress: StringTelephone numbers: StringPension System: String 2. Health Insurance Entity:Code (primary key): IntegerType: String 3. Medical entity:RUT (Primary Key): IntegerName: StringLast name: StringDate of Birth: DateSpecialties: StringYears of practice: Integer 4. Medical Specialty Entity:Code (primary key): IntegerSpecialty Name: String 5. Pharmaceutical company entity:Code (primary key): IntegerName: StringPhone number: String 6. Medication Entity:Business name (primary key): StringFormula: StringPharmaceutical company code (foreign key): Integer 7. Pharmacy Entity:Code (primary key): IntegerName: StringAddress: StringPhone number: String 8. Patient-Doctor Assignment Entity:Assignment ID (primary key): IntegerPatient RUT (foreign key): IntegerDoctor RUT (Foreign Key): IntegerStart date: DateEnd…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
dml in sql with examples; Author: Education 4u;https://www.youtube.com/watch?v=WvOseanUdk4;License: Standard YouTube License, CC-BY