EBK MODERN DATABASE MANAGEMENT,
13th Edition
ISBN: 9780134792279
Author: TOPI
Publisher: YUZU
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 6, Problem 6.31PAE
Program Plan Intro
Find the relationships among the four given relations provided in figure. Name the primary keys and foreign keys belonging to each relation.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Determine the relationships among the four relations in Figure 7-17. List primary keys for each relation and any foreign keys necessary to establish the relationships and maintain referential integrity. Pay particular attention to the data contained in TUTOR REPORTS when you set up its primary key.
ERD for Sales Order
Step 1.
Draw an ER diagram for the story below. Use the ERD tool only. Draw Relations in Oracle notation.
Please read the story carefully. Use the mentioned Entities ONLY.
The company sells various Products to Customers. The Sales Agent books an Order. A new order is created for each Product.
While booking an Order, Agent records Order Date, Product, Customer, Product Quantity, and Sales Agent.
Product has Description and UnitPrice.
Each Agent reports to a Manager. A Manger has a Nameand Commission Percent.
NOTE: Total Amount is a calculation, doesn't belong to Order
Step 2.
Add Attributes to Sales Order ERD based on Rules of Normalization.
To prevent modification anomalies, which of the following are created for a relation?
Group of answer choices:
1. foreign keys
2. functional dependencies
3. referential integrity constraints
4. multi-valued attributes
5. primary keys
6. normal forms
Chapter 6 Solutions
EBK MODERN DATABASE MANAGEMENT,
Ch. 6 - Define each of the following terms: dynamic view...Ch. 6 - Match the following terms to the appropriate...Ch. 6 - Prob. 6.3RQCh. 6 - Prob. 6.4RQCh. 6 - Prob. 6.5RQCh. 6 - Explain the relationship between EXISTS and...Ch. 6 - Prob. 6.7RQCh. 6 - Under what conditions can a UNION clause be used?Ch. 6 - Prob. 6.9RQCh. 6 - Explain why it is necessary to limit the kinds of...
Ch. 6 - Describe a set of circumstances for which using a...Ch. 6 - Prob. 6.12RQCh. 6 - Prob. 6.13RQCh. 6 - Prob. 6.14RQCh. 6 - Prob. 6.15RQCh. 6 - Prob. 6.16RQCh. 6 - Prob. 6.17RQCh. 6 - Prob. 6.18RQCh. 6 - Prob. 6.19RQCh. 6 - List for advantages of SQL-invoked routines.Ch. 6 - Prob. 6.21RQCh. 6 - Prob. 6.22RQCh. 6 - Prob. 6.23RQCh. 6 - This chapter discusses the data dictionary views...Ch. 6 - Write an SQL query to answer the following...Ch. 6 - Write SQL retrieval commands for each of the...Ch. 6 - Write an SQL query to answer the following...Ch. 6 - Write SQL queries to answer the following...Ch. 6 - Write SQL queries to answer the following...Ch. 6 - Write an SQL query to answer the following...Ch. 6 - Prob. 6.31PAECh. 6 - Prob. 6.32PAECh. 6 - Prob. 6.33PAECh. 6 - What do you need to do if a tutor signs up and...Ch. 6 - Prob. 6.35PAECh. 6 - Write the SQL query to find any tutors who have...Ch. 6 - Prob. 6.37PAECh. 6 - Write an SQL query to determine the total number...Ch. 6 - Prob. 6.39PAECh. 6 - Prob. 6.40PAECh. 6 - Prob. 6.41PAECh. 6 - Prob. 6.42PAECh. 6 - Prob. 6.43PAECh. 6 - Which tutor needs to be reminded to tum in...Ch. 6 - Prob. 6.45PAECh. 6 - Write an SQL query to list all product line names...Ch. 6 - Modify to include only those product lines the...Ch. 6 - Prob. 6.48PAECh. 6 - Prob. 6.49PAECh. 6 - Write an SQL query to display the order number,...Ch. 6 - Prob. 6.51PAECh. 6 - Prob. 6.52PAECh. 6 - Prob. 6.53PAECh. 6 - Prob. 6.54PAECh. 6 - Prob. 6.55PAECh. 6 - Prob. 6.56PAECh. 6 - Prob. 6.57PAECh. 6 - Prob. 6.58PAECh. 6 - Write an SQL query to list each customer who...Ch. 6 - Prob. 6.60PAECh. 6 - Modify Problem and Exercise 6-60 so that the list...Ch. 6 - Prob. 6.62PAECh. 6 - Prob. 6.63PAECh. 6 - Prob. 6.64PAECh. 6 - Prob. 6.65PAECh. 6 - Prob. 6.66PAECh. 6 - Prob. 6.67PAECh. 6 - Prob. 6.68PAECh. 6 - Prob. 6.69PAECh. 6 - Prob. 6.70PAECh. 6 - Prob. 6.71PAECh. 6 - Rewrite your answer to Problem and Exercise 6-71...Ch. 6 - Display the customer ID, name, and order ID for...Ch. 6 - Prob. 6.74PAECh. 6 - Prob. 6.75PAECh. 6 - Prob. 6.76PAECh. 6 - Prob. 6.77PAECh. 6 - Prob. 6.78PAECh. 6 - Prob. 6.79PAECh. 6 - Write an SQL query to list the order number,...Ch. 6 - Prob. 6.81PAECh. 6 - Prob. 6.82PAECh. 6 - Prob. 6.83PAECh. 6 - Prob. 6.84PAECh. 6 - Prob. 6.85PAE
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
- Write the relations clearly showing the Primary key bolded and underlined (e.g., CustomerId). Foreign key shown in italics (e.g., OrderNumber) and separately defined beneath the relation (e.g., ShoppingCart OrderNumber FK to Order OrderNumber)arrow_forwardReview FamCation relations and determine if they are all in 3NF. If not, which relations do you need to normalize and how?arrow_forwardFor each of the relations created, indicate its normal form. If the relation is not in the 3NF, decompose it into 3NF relationsarrow_forward
- Based on the following ER model and business rules, write an SQL statement to create COURSE and COURSE_PREREQ table. Be sure to implement all related data integrity constraint. For each column, use the data type as you think appropriate. Business rule • A course may have more than one prerequisites. The prerequisite courses may have their own prerequisite courses (more than one). COUSE entity • CourseNo is a UID (unique identifier). • Credit hours should be greater than 0 and less than 7. COURSE_PREREQ entity • UID is the composite of CourseNo and CourseNo (i.e., prerequisite courseNo). COURSE COURSE_PREREQ CourseNo: UID Title Description CourseNo: LCourseNo: UID CreditHoursarrow_forward1. Follow the normalization process to normalize the above tables (you need not show the steps, but can use the blank sides of the exam if you want to work out the steps) and show the 3NF relational schema for each resulting table in the following format: ?NF TABLENAME (PRIMARY KEY, other attributes, FOREIGN KEY(s)) Use appropriate names for all tables and attributes. Do not draw any dependency diagrams. 2. Use the above relational schemas to draw the Crow’s Foot E-R Diagram (include all attributes, PKs, and FKs).arrow_forward1. Follow the normalization process to normalize the above tables (you need not show the steps, but can use the blank sides of the exam if you want to work out the steps) and show the 3NF relational schema for each resulting table in the following format: ?NF TABLENAME (PRIMARY KEY, other attributes, FOREIGN KEY(s)) Use appropriate names for all tables and attributes. Do not draw any dependency diagrams. 2. Use the above relational schemas to draw the Crow’s Foot E-R Diagram (include all attributes, PKs, and FKs).arrow_forward
- Candidate key is an attribute or set of attributes that uniquely identifies a tuple within a relation. Integrity constraints is to make sure that the data is accurate. Staff number in a staff table is a multiple attribute. A weak entity is an entity that is existence-independent. jgive answer true or falsearrow_forwardWhat is the cardinality of a relation? What is the degree of a relation? What is a foreign key constraint?arrow_forwardAssignment: a) Is this table in 1NF? Why or why not? b) Describe and illustrate the process of normalizing the data shown in this table, from first to third normal form (1NF-3NF). c) Identify the primary, alternate, and foreign keys in the 3NF relations. StaffBranch Table staffNo name position level salary $1500 Tom Daniels Manager 3 46000 B001 S0003 Sally Adams Assistant 1 30000 B001 S0010 Mary Martinez Manager 5 S3250 Robert Chin Supervisor 1 50000 B002 32000 B002 S2250 Sally Stern Manager 4 48000 B004 S0415 Art Peters Manager 2 41000 B003 503-555-3618 503-555-2727 206-555-8836 206-555-6756 206-555-4112 hours supervisor 45 S0010 36.5 $2250 38 S0415 28 S0010 212-371-3000 37 S2250 branchNo branchAddress 8 Jefferson Way, Portland, OR 97201 8 Jefferson Way, Portland, OR 97201 City Center Plaza, Seattle, OR 98122 City Center Plaza, Seattle, OR 98122 16-14th Avenue, Seattle, OR 98128 14-18th Avenue, New York, NY 10012 telNoarrow_forward
- Based on the picture, create the ERD for this database. Then explain if the tables exhibit referential or entity integrity? Finally, Identify the TRUCK table’s candidate keysarrow_forwardWhen considering creating a join between two tables, how are we demonstrating the concept of "relational" databases? Why is it essential that we create the join by finding a common attribute that is unique in at least one table and look at situations where that attribute has the same value ( is equal ) in both tables?arrow_forwardUsing the ER diagram for Supplier and Part entities provided (attached here), convert the ERD logical design into a physical database using Microsoft Access. Make sure that you have to create both tables, then use "Database Tools"/"Relationship" to set a specific relationship type between two entities. Once you created both tables, type in at least 5 sample records per entity table ( special care needed when you enter sample data in FK field). Perform a Query to obtain "Supplier_ID", "Supplier_Name", "Part_Num", "Part_Name" data from both entity tables. Also create a form and report using any entityarrow_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