EBK MODERN DATABASE MANAGEMENT,
13th Edition
ISBN: 9780134792279
Author: TOPI
Publisher: YUZU
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 9, Problem 9.36PAE
Program Plan Intro
(a)
To construct:
Table for the given transactions assuming the data as transient.
Program Plan Intro
(b)
To construct:
The tables for the given transactions if the data is periodic.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Q2: A-Given the following tables:
Student
Subject
Std_ID
001
002
003
004
Fname
Smith
Smith
Beal
Thomson
Lname
Jolin
Susan
Fred
Marie
Std_ID
001
001
002
002
003
Semester
004
Falls03
Spro4
Falls03
C_ID
Eng01
Ger01
Eng01
Ger01
Ger01
CSection
Spro4
Spro4
Spro4
1. For each table in the database, identify the primary key and the foreign key(s).
2. Do the tables exhibit entity integrity? Explain your answer?
3. Do the tables exhibit referential integrity? Explain your answer?
Ita01
ZZZZZZ
IN
2N
IN
2N
IN
CName
English
IN
German
English
German
German
Italian
Grade
A
B
A
B
A
B
The data in flat files has been provided:
INVOICE TABLE
INVOICE_NUM
CUSTOMER_ID
INVOICE_DATE
EMPLOYEE_ID
COIN_ID
DELIVERY_ID
8111
11011
15 May 2021
emp103
7111
511
8112
11013
15 May 2021
emp101
7116
512
8113
11012
17 May 2021
emp101
7112
513
8114
11015
17 May 2021
emp102
7111
514
8115
11011
17 May 2021
emp102
7115
515
8116
11015
18 May 2021
emp103
7115
516
8117
11012
19 May 2021
emp105
7112
517
8118
11013
19 May 2021
emp105
7112
517
COIN_RETURNS TABLE
RETURN_ID
RETURN_DATE
REASON
CUSTOMER_ID
COIN_ID
EMPLOYEE_ID
ret001
25 May 2021
Customer not satisfied with product
11011
7116
emp101
ret002
25 May 2021
Product missing part
11013
7114
emp103
COIN TABLE
COIN_ID
PRODUCT
PRICE
QTY
7111
1oz Gold Kruger Rand
R 5 999
10
7112
1oz Silver Kruger Rand
R 12 999
8
7113
Gold Big 5 Uncirculated
R 15 999
8
7114
Silver Big 5 Pack
R 7 999
5
7115
1oz Gold Palaeontology
R 11 999
15
7116
1oz Silver Palaeontology
R 7 999
12
COIN_DELIVERY TABLE…
Assume the EMPLOYEE table contains four attributes, ID, DEPT, SALARY and NAME, and has the following rows
ID DEPT SALARY NAME 100 SALES 40000 Smith 101 RD 38000 Terry 102 HR 60000 David 103 SALES 58000 Ellie 104 RD 70000 Judy The DEPARTMENT table contains two attributes, DEPTNAME and PHONE, and has the following rows: DEPTNAME PHONE RD 8596001234 SALES 8596005555 HR 8596009876 A.) The EMPLOYEE table needs to enforce the following integrity constraints: • The ID is the primary key. • The DEPT column is a foreign key that references the DEPTNAME in the DEPARTMENT table, so that any value that appears in the DEPT column should also exist in the DEPARTMENT table. • The value for the NAME column can never be null. What should be the statement used to create the EMPLOYEE table, if 1) the table was created as a partitioned table such…
Chapter 9 Solutions
EBK MODERN DATABASE MANAGEMENT,
Ch. 9 - Prob. 9.1RQCh. 9 - Prob. 9.2RQCh. 9 - Prob. 9.3RQCh. 9 - List the five major trends that necessitate data...Ch. 9 - Prob. 9.5RQCh. 9 - Prob. 9.6RQCh. 9 - Prob. 9.7RQCh. 9 - Prob. 9.8RQCh. 9 - Prob. 9.9RQCh. 9 - Prob. 9.10RQ
Ch. 9 - List four objectives of derived data.Ch. 9 - Prob. 9.12RQCh. 9 - Prob. 9.13RQCh. 9 - Explain the pros and cons of logical data marts.Ch. 9 - Prob. 9.15RQCh. 9 - What is a helper table, and why is it often used...Ch. 9 - Describe the characteristics of a surrogate key as...Ch. 9 - Prob. 9.18RQCh. 9 - What is the purpose of conformed dimensions for...Ch. 9 - Prob. 9.20RQCh. 9 - Prob. 9.21RQCh. 9 - Prob. 9.22RQCh. 9 - Prob. 9.23RQCh. 9 - Prob. 9.24RQCh. 9 - Prob. 9.25RQCh. 9 - Describe the current key trends in data...Ch. 9 - Discuss the benefits of offering data warehousing...Ch. 9 - Prob. 9.28RQCh. 9 - List six typical characteristics of reconciled...Ch. 9 - Prob. 9.30RQCh. 9 - Prob. 9.31RQCh. 9 - Prob. 9.32RQCh. 9 - Prob. 9.33RQCh. 9 - Describe some field-level and record-level data...Ch. 9 - Prob. 9.35PAECh. 9 - Prob. 9.36PAECh. 9 - Prob. 9.37PAECh. 9 - Prob. 9.38PAECh. 9 - You are to construct a star schema for Simplified...Ch. 9 - Simplified Automobile Insurance Company would like...Ch. 9 - Prob. 9.41PAECh. 9 - Prob. 9.42PAECh. 9 - Prob. 9.43PAECh. 9 - Prob. 9.45PAECh. 9 - Prob. 9.46PAECh. 9 - Prob. 9.47PAECh. 9 - Prob. 9.48PAECh. 9 - Prob. 9.49PAECh. 9 - Prob. 9.50PAECh. 9 - Prob. 9.51PAECh. 9 - Prob. 9.52PAECh. 9 - Prob. 9.53PAECh. 9 - Prob. 9.54PAE
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
- 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_forwardEmployee ID 1 Name Department Age Salary Adam R&D 19 50000 James Finance 25 100000 Andrew Marketing 24 80000 Harry Marketing 23 75000 5 5 Helen Finance 30 120000 Create a stored procedure that will take the Employee ID of a person and checks if it is in the table. There are two conditions • It will create a new record if the Employee ID is not stored in the table • If the record is already in the table, it will update that 12345 234 50 2arrow_forwardObserve the table ENROLLMENT: ENROLLMENT TTE StudentID StudentName MajorID MajorName 111 Joe English 222 Bob History 333 Lisa H History Which of the following actions in the table ENROLLMENT will be affected by a modification anomaly (with its current 3 records)? None of the answers O Changing the name of Joe to Joseph O Changing the name of Lisa to Lizzy O Changing the name of Bob to Robert O Changing the name of English to English Literaturearrow_forward
- Q8) Which option represent the relations that will result from mapping the following ERD: Instructor Lec ID name Semester Teaches Lecture Year Course ID Lec_Course a) Instructor (ID, Name) Teaches (ID, Course ID, Lec ID, Semester, Year) Lecture (Course ID, Lec ID, Semester, Year) Course (Course ID, Title, Credits) b) Instructor (ID, Name) Teaches (ID, Course ID, Lec ID, Semester, Year) Lecture (Course ID, Lec ID, Semester, Year) Course (Course ID, Title, Credits, Pre-Rea) c) Instructor (ID, Name) Teaches (ID, Course ID, Lec ID, Semester, Year) Lecture (Course ID, Lec ID, Semester, Year) Course (Course ID, Title, Credits) Pre_Req (Course_ID, Prereq_ID) d) Instructor (ID, Name) Teaches (ID, Course ID, Lec ID, Semester, Year) Lecture (Course ID, Lec ID, Semester, Year) Course (Course ID, Title, Credits) Pre_Req (Course ID, Prereq_ID) Title Course_ID Credits Course Pre_Req Prereq_IDarrow_forwardC sharp Table: Student (the headers are the field names in the Students table) StudentID Name Age Gender ProgramID 791 Stephanie Brown 19 Female BCS 236 Shannon Dawn 25 Female BA 618 Geoff Berg 24 Male ARET 256 Andrew Schilling 22 Male BSC 902 Gary Sang 23 Male DAAD Note: There is a StudentDataSet with a Student table, a StudentTableAdapter, a StudentBindingSource, and a StudentDataGridView control on the form.Note: There is an Average query, named Average, that returns the average age of the student from the Student table.Note: There is also Max query, named Highest, that returns the highest age of the student from the Student table.Write the code you would place in the AverageButton click event on your form to call the Average query and the Highest query and display in a DifferenceLabel, the difference between the highest age of a student and the average age.arrow_forwardWhich one is correct Select the constraint (if any) that is violated by each the following operations in questions. Use Tables to answer the questions. STUDENTS COURSES NAME Sarah STUDENT COURSE CID 111 ID MAJOR BDATE CNAME Database PRECOURSE SID GRADE CS 1/2/1990 3/6/1991 111 60 Sahar CS 222 Prog2 Progl 444 60 All CIS 333 666 222 50 Khalid CS 1/11/1985 2/8/1986 444 Data struc 60 Abed CIS 555 Java 222 555 80 Omar CS 6/5/1993 666 Introduction 444 70 Insert into Courses O Key constraint O Entity Integrity Constraint Accepted O Key constraint & Domain constraint Domain constraint Referential Integrity Constraintarrow_forward
- Database course: Write SQL queries to do the following A. List names of IT students. B. List titles of courses of type E. C. Display the results of student with ID 201006 D. List student names and the courses they took. E. List total credits that student with ID 201002.arrow_forward1- List all the users and their card name using union2- List all the users and their card name using Intersection 3- List all the card numbers with owner names and scheduled transactions, in case the user hasnever used scheduled transaction show null or zero in the transaction column. (Hint use ISNULLfunction)arrow_forwardQ5) What is the normalization of the following table, where the primary keys are underlined: Note: all the data in cells of the table are already atomic. OrderID Order Date 1006 1006 10/24/2010 1006 1007 10/24/2010 1007 10/24/2010 10/25/2010 10/25/2010 Customer Customer Customer ProductID Product ID Name Address Description 2 2 2 6 6 Value Furniture Value Furniture Value Furniture Plano, TX Plano, TX Plano, TX Furniture Boulder, Gallery CO Furniture Boulder, Gallery CO 7 5 4 11 Dining Table Writer's Desk Product Product Finish Standard Price 4-Dr Dresser Natural 800.00 Ash Cherry 325.00 Entertainment Natural 650.00 Center Maple 500.00 4 Entertainment Natural 650.00 Center Maple Ordered Quantity 2 2 1 4 3arrow_forward
- Q11)?,Q12)?,Q13)?arrow_forwardGiven the following relation that stores details of student registration: Stu_ID Name Town Province Course RegisteredDate S101 Malak Al Nadabi Al Khuwair Western ITDR2106 02-02-2020 S101 Malak Al Nadabi Al Khuwair Western ITDR1105 14-09-2019 S102 Nadar Al Hashli Daesit Southern ITDR1102 05-02-2020 S102 Nadar Al Hashli Daesit Southern ITDR1101 05-02-2020 S103 Basit Barkat Ruwi Central ITDR1105 06-02-2020 S104 Yeshan Al Khuwair Western ITDR2106 15-09-2019 If the functional dependencies are consistent with the above relation, put TRUE. If they are not, put FALSE. Stu_ID à Name, Town Town à Province Course à RegisteredDate RegisteredDate à Course Stu_ID, Course à RegisteredDate Stu_ID à Course Stu_IDarrow_forwardCourse • Courseld CourseCode CourseName Capacity Instructorld 3815 ENGL862 American Literature 75 2 2213 CS8 Computer Graphics 25 1 4093 PHIL26 Intro to Philosophy 150 3 8131 CS58 Databases 50 7152 PHIL276 Ethics 100 3 • Instructorld 123 Instructor InstructorName Rank Ben Love Associate Professor Pat Wade Mai Wood Associate Professor Professor Department Computer Science English Philosophy Note: Both tables may not be necessary to complete this level. Complete the following correlated subquery to find instructors who teach fewer than 2 courses. The query should return the row containing Pat Wade. SELECT * FROM Instructor I WHERE 2 > (SELECT *Type your code here */ FROM Course WHERE InstructorId =arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
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
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage