Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Use the technique of normalization to validate the structure of your relational schema. Demonstrate that each of your relations is in third normal form (3NF) by displaying the functional dependencies between attributes in each relation. Note, if any of your relations are not in 3NF, this may indicate that your ER model is structurally incorrect or that you have introduced errors in the process of deriving relations from your model.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved 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.Similar questions
- If there is such a thing as a relational model, what is the overarching name for attributes, and how are they utilized?arrow_forwardNormalization Show all the steps as you perform normalization for each problem up to 3NF. State your final relation to schemas in 3NF.arrow_forwardNormalize Table 1 to a set of Third Normal Form (3NF) relations. Your answer should show all the three stages of normalization (1NF, 2NF and 3NF) by using the Database Design Language format (underline all primary keys, composite keys and use an * to indicate the foreign keys). State the action taken upon the table(s) for each Normal Form. For the INF in this case, only identify the Primary Key and keep the INF result in a single table. Then, split into new table(s) starting from a) 2NF onwards. Also, consider the following assumptions: - One ReservelD can have multiple venues' booking. - One venue can only be booked once for the same ReservelD on the same ReserveDate ReservelD ReserveDate StartTime EndTime VenuelD VenueTag 10:00 13:00 210101-01 3-Jan-21 210101-02 3-Jan-21 Hibiscus Lily VenueSize FeePerHour Purpose |150 15:00 v10 Small Discussion 20:00 20:00 21:00 V22 Medium 260 Forum 210101-02 3-Jan-21 13:00 V20 Petal Medium 260 Meeting 210101-02 3-Jan-21 17:00 V10 Hibiscus Small 150…arrow_forward
- Consider the ER diagram shown below. The ER diagram models a hotel chain that owns multiple hotels. Each hotel offers some rooms and each room has a number (rnumber). Any room can be booked by any guest. booking hname 1 n Hotel Room Guest (phone%# location date of rnumber size stay (passport# name city country A. Give a mapping to the relational model and list the relations and their attributes. Make sure to underline the primary key of each relation and indicate which attributes are foreign keys. (You don't need to draw arrows; you can just mention for each relation which attributes are foreign keys.) B. State the SQL code (using CREATE TABLE) that creates the database schema. o Choose suitable domains for the attributes (rnumber and size are integers; date_of_stay has domain DATE). If the domain of an attribute is unclear, you can simply use VARCHAR(10). o Include the required constraints for primary keys and foreign keys. You do not need to specify "ON DELETE" or "ON UPDATE"…arrow_forwardIf there is such a thing as a relational model, what is the overarching name for attributes, and how are they utilised?arrow_forwardMap the given EER into the relational model. Three are three options for mapping a specialization. Please use the option of "Option1: Create a table for each class (both superclass and subclass)". Please include all the relations and views (if there is any). All assignments' submissions in this course must be typed and submitted electronically through Canvas. You must submit a PDF file. Files in another format will not be accepted. SSN Salary Student Name ΤΑ STUDENT Address N Email Grade Enrolled In Course_No. M (No_of_Students ONLINE COURSE URL Graded by N Building Room Id. Course Name COURSE N IN PERSON COURSE N 1 Taught by Takes Place in Room No CLASSROOM 1 Title Instructor ID INSTRUCTOR Capacity Class_time Instructor Namearrow_forward
- a) Consider the following EER diagram. Map it to the relational model. Specify the relational schema in DBDL notation. b) Convert the following relational schema to BCNF (FD1, FD2 and FD3 are functional dependencies. CourseOffering(coId, courseId, semesterId, year, campus, courseName) Primary key (coId) Alternate Key (courseId, semesterId, year, campus) FD1: coId courseId, semesterId,arrow_forward20 - Consider the following Entitiy Relationship diagram. Which of the following relation will not hold if the above ER diagram is mapped into a relational model? I) Product (ProductId, Desciption) II) Requests (ProductId, Orderld) III) Order (Orderld, Productid, Date) IV) Order (Orderld, Date) ProductID Description Orderld Date M N Product Requests Order IV b) II c) O I d) O I|arrow_forwardHere we explain three cases when it makes sense to use a surrogate key in lieu of the relation's main key.arrow_forward
- Explain three cases when a surrogate key should be generated in place of the main key of a relation.arrow_forwardUse a suitable example to provide a thorough description of the relational model.arrow_forwardDescribe the difference between how a 1:M unary relationship and an M:N unary relationship are implemented in a relational data model.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education