A Guide to SQL
9th Edition
ISBN: 9781111527273
Author: Philip J. Pratt
Publisher: Course Technology Ptr
expand_more
expand_more
format_list_bulleted
Question
Chapter 2, Problem 3SCG
Program Plan Intro
Functional dependency:
- A column “X” is said to be functionally dependent on another column “Y”, when at any point of time, a value for “X” determines a single value for “Y”.
- In other words, a column “X” is said to be functionally dependent on another column “Y”, when two tuples agree on attribute “X” values then they should also agree on attribute “Y” values.
- It is usually represented as “XY”, where the terms “X” and “Y” are composite.
- It can be said as either “Y” is functionally dependent on “X” or as “X” functionally determines “Y”.
Normalization:
- Normalization refers to the method of representing a
database in the terms of relations, which are in the standard normal forms. - It is organized in a table manner to reduce data redundancy and data dependency.
Third Normal Form (3NF):
A table or a relation is said to be in third normal form if and only if it is in second normal form and if the candidate keys are its only determinants.
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
The following fields are presented in the table: Member Last Name, MemberFirstName, Street, City, State, ZipCode and MemberFee. The table contains 75,000 documents. How would you build indexes for the table and why would you create these indexes?
Create the Database Schema, the Normalize table, and the Final ERD
StudentID
Name
Age
Course
CourseName
Room
ProfessorID
Professor
1
Michael
|17
СОЕО01
Computer Fundamentals O01
201201
Nath
COEO02
Computer Programming 020
201202
Butch
COEO03
Computer Design
300
201201
Nath
2
Jane
18
СОЕО01
Computer Fundamentals 001
201201
Nath
COEO02
Computer Programming 020
201202
Butch
3
Max
|17
СОЕО01
Computer Fundamentals 001
201201
Nath
COEO03
Computer Design
300
201201
Nath
Step by step procedure of Normalization
Database Foundations:
Design a database to produce the following reports. Do not use any surrogate keys in your design.
For each guide, list the guide number, guide last name, guide first name, address, city, state, postal code, telephone number, and date hired.
For each trip, list the trip ID number, the trip name, the location from which the trip starts, the state in which the trip originates, the trip distance, the maximum group size, the type of trip (hiking, biking, or paddling), the season in which the trip occurs, and the guide number, first name, and last name of each guide. A guide may lead many trips and a trip may be led by many different guides.
For each client, list the client number, client last name, client first name, address, city, state, postal code, and telephone number
Chapter 2 Solutions
A Guide to SQL
Ch. 2 - Prob. 1RQCh. 2 - What is an attribute?Ch. 2 - What is a relationship? What is a one-to-many...Ch. 2 - Prob. 4RQCh. 2 - What is a relation?Ch. 2 - Prob. 6RQCh. 2 - Prob. 7RQCh. 2 - How do you qualify the name of a field, and when...Ch. 2 - Prob. 9RQCh. 2 - What is a primary key? What is the primary key for...
Ch. 2 - Prob. 11RQCh. 2 - Prob. 12RQCh. 2 - Define second normal form. What types of problems...Ch. 2 - Define third normal form. What types of problems...Ch. 2 - Prob. 15RQCh. 2 - Prob. 16RQCh. 2 - List the changes you would need to make to your...Ch. 2 - Prob. 1TDCh. 2 - Prob. 2TDCh. 2 - Prob. 3TDCh. 2 - Prob. 4TDCh. 2 - Prob. 5TDCh. 2 - Prob. 1CATCh. 2 - Identify the functional dependencies in the...Ch. 2 - Prob. 3CATCh. 2 - Determine the functional dependencies that exist...Ch. 2 - Prob. 2SCGCh. 2 - Prob. 3SCG
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_forwardUse UStayWell Student Accommodation Database to answer the following questions A. Create a LARGE_PROPERTY table with the structure shown in Figure 6-29. B. Insert into the LARGE_PROPERTY table the office number, address, bedrooms, baths, monthlyrent, and owner number for those properties whose square footage is greater than 1,500 squarefeet. C. StayWell has increased the monthly rent of each large property by $150. Update the monthly rentsin the LARGE_PROPERTY table accordingly. D. Delete all properties in the LARGE_PROPERTY table for which the owner number is BI109. E. The property in managed by Columbia City with the address 105 North Illinois Rd is in the processof being remodeled and the number of bedrooms is unknown. Change the bedrooms value in theLARGE_PROPERTY table to null. F. Add to the LARGE_PROPERTY table a new character column named OCCUPIED that is onecharacter in length. (This column indicates whether the property is currently occupied.) Set thevalue for the OCCUPIED…arrow_forwardCreate the following table as part of a Hilton Hotel Business database: a. Hotel (hotelNo, hotelName, City) where hotel contains hotel details and hotelNo is the primary key. b. Room (roomNo, hotelNo, type, price) Room contains room details for each hotel and (roomNo, hotelNo) forms the primary key. c. Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo) Booking contains details of bookings and (hotelNo, guestNo, dateFrom) forms the primary key. d. Guest (guestNo, guestName, guestAddress) Guest contains guest details and guestNo is the primary key. Create a relationship and diagram of a database created as given above. ps - picture not relatedarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage Learning
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr