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
Concept explainers
Question
Identify the normal form it is in. Please make sure to provide explanations to support your answer. Convert it to BCNF.
1.GRADES (S#, C#, sem, year, F#, FName, Sname, Cname, grade, crHrs)
a) Write down the following functional dependencies:
S# -->
C# -->
F# -->
b) Which normal form is the above relation in?
c) Convert it to BCNF:
2.TEACHES (C#, sem, year, F#, Fname, Foffice)
a) Write down the functional dependency for F#:
F# -->
b) Which normal form is the above relation in?
c) Convert it to BCNF
3. R (a,b,c,d,e,f,g)
Given that: d --> a
e --> f,g
a) Which normal form is the above relation in?
b) Convert it to BCNF:
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
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
- What is an unnormalized relation? Is it a relation according to the definition of the word relation?arrow_forwardCOM. Q. CUSTOMER (CID, NAME, STREET, CITY, STATE, AGE) SALE (PID, CID, DATE, COST) PART (PID, PNAME, COLOR) The meaning of these relations is straightforward; for example, SALE has one tuple for every part sold to a customer. Primary key attributes are underlined. For instance, PID and CID together form the primary key of relation SALE. SALE.PID is a foreign key that refers to PART.PID, while SALE.CID is a foreign key that refers to CUSTOMER.CID. Write SQL statements for the following retrieval and update operations. Retrieve the names of all the customers from the city of "Trenton' who bought a part at a cost less than $50. No duplicates should appear in the answer. Retrieve the names of red parts bought by a customer who is younger than 40 and from a customer who is older than 40. Delete all parts that are never bought by a customer from "Trenton" (this is a data change statement). Retrieve the names of the customers who never bought a green part. Retrieve the names of the…arrow_forwardWhat is the connection between the primary key of a relation and the functional relationships that exist between all of its attributes?arrow_forward
- 8 Which of the following relationships models the following statement: “My friends have nice cars" * Association Dependency Generalization Compositionarrow_forwardDiscuss the differences between the candidate keys and the primary key of a relation.arrow_forwardFor the table BOOKAUTHOR below you are given the following functional dependencies. BOOKAUTHOR (ISBN, BookTitle, Author_Num, LastName, Publisher, Royalty, Edition) Functional dependencies: 1. ISBN BookTitle, Publisher, Edition 2. Author Num → LastName 3. BookTitle → Publisher 4. {ISBN, Author_Num} → BookTitle, LastName, Publisher, Royalty, Edition Write the types of functional dependencies shown in (1) to (4) above. Also, decompose the table to the third normal from (3NF).arrow_forward
- Please written by computer source Express the following table of data as a relation S. x,0,2,3,5,7 y,4,2,-2,-5,-6 The correct answer contains ordered pairs. Be sure to enter them with parentheses and separate pairs with a commaarrow_forwarddatabase Assume that you have the following relation; R(a,b,c) a b c ---------- 1 A F 2 B M 3 T F 4 R M 5 A F And S is a relation with one attribute called c and has one tuple with the value 'F". Then the cardinality of R divided by S will be = ----- Select one: a. Non of the mentioned b. 2 c. 1 d. 3arrow_forwardHere are three examples of when it makes sense to create a surrogate key in place of the primary key in a relation.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