Modern Database Management
13th Edition
ISBN: 9780134792293
Author: Hoffer
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 8, Problem 8.69PAE
Program Plan Intro
Filling the table by Y for yes and N for No based on the given assumptions.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Q: 2. Create the database name Company which consists of one Entity name Employee which
consists of 10 attributes
(ID/First Name/Last Name/CNIC/Gender/Department/Sal ary/Address/Age)
ID should be primary key
Insert at least 10 records in the Entity Employee with respect to their type.
a) Implementation the example of stored procedure now creates the stored procedure which:
a. Have an ability to insert the record in the table.
b. Have an ability to delete the record in table.
c. Have an ability to update the record in the table.
d. Have an ability to display the record in the table.
|
Subtitle
Dictate
Font
Paragraph
A Select v
Styles
Editing
Voice
Question 5I
Consider the following database instance.
For each of the following questions, show the contents of the database (1,e, re-draw the
tables showing the data) after performing the given SQL statements. Assume each SQL
statement is performed on the original database instance considering the effect of the
previous statements, so these are done in the order listed. After each step the data is
committed (written) to the database.
Table name: Student
Primary key: SID
SID
SNAME
5.1)
2.
Fred
delete from Student where sid = 1:
commit:
Mack
Shell
Table name: Course
5.2)
Primary key: CID
update Course set cid 5 where cid 1:
commit:
CID
CNAME
1
Finance
CIS
Table name: Register
5.3)
Primary key: SID.CID
Foreign key: SID references Student(SID)
on delete cascade
insert Register values(3,2);
commit
Foreign key: CID references Course(CID)
on update cascade
CID
SID
2.
5.4)
1
2.
update Register set gid = 1 where sid=2
commit…
The following are the basic processes of Boarding School Outing System.
Student may enter the outing request such as date, reason, check-out time
(check-in time is auto-set at 6.00 PM) to request for outing. The outing request
details are stored in 'Outing Request' record.
Warden can view the outing request and he/she may approve or disapprove the
request. The status of the request is updated in the Outing Request' record.
Once the status is updated, a short message service (SMS) notification will be
sent by the system to the student and parents. The hand-phone numbers are
retrieved from the Student' record.
Student will check-out and check-in via this system whenever he/she is about
to leave from the school and reports back to the school. The data (date and time)
is kept in the existing outing record.
Note:
**Definition of outing (in boarding school context): A day out from the hostel/school,
normally during the weekend.
Based on the scenario above:
a) Draw a Context Diagram for…
Chapter 8 Solutions
Modern Database Management
Ch. 8 - Prob. 8.1RQCh. 8 - Prob. 8.2RQCh. 8 - Prob. 8.3RQCh. 8 - Prob. 8.4RQCh. 8 - Prob. 8.5RQCh. 8 - Prob. 8.6RQCh. 8 - Prob. 8.7RQCh. 8 - Prob. 8.8RQCh. 8 - Explain why you sometimes have to reserve much...Ch. 8 - Why are field values sometimes coded?
Ch. 8 - Prob. 8.11RQCh. 8 - Prob. 8.12RQCh. 8 - Explain why normalized relations may not comprise...Ch. 8 - Prob. 8.14RQCh. 8 - List three common situations that suggest that...Ch. 8 - Explain the reasons why some experts are against...Ch. 8 - Prob. 8.17RQCh. 8 - Prob. 8.18RQCh. 8 - Prob. 8.19RQCh. 8 - Prob. 8.20RQCh. 8 - Prob. 8.21RQCh. 8 - Prob. 8.22RQCh. 8 - One of the strongest recommendations regarding...Ch. 8 - Explain why an index is useful only if there is...Ch. 8 - Indexing can clearly be very beneficial. Why...Ch. 8 - Prob. 8.26RQCh. 8 - Prob. 8.27RQCh. 8 - Describe the role of data dictionary in the...Ch. 8 - Prob. 8.29RQCh. 8 - Prob. 8.30RQCh. 8 - Explain how creating a view may increase data...Ch. 8 - Prob. 8.32RQCh. 8 - Prob. 8.33RQCh. 8 - Prob. 8.34RQCh. 8 - Prob. 8.35RQCh. 8 - Prob. 8.36RQCh. 8 - Prob. 8.37RQCh. 8 - Prob. 8.38RQCh. 8 - Prob. 8.39RQCh. 8 - How can views be used as part of data security?...Ch. 8 - Prob. 8.41RQCh. 8 - Prob. 8.42RQCh. 8 - Consider the following two relations for...Ch. 8 - Prob. 8.44PAECh. 8 - Prob. 8.45PAECh. 8 - Prob. 8.46PAECh. 8 - Prob. 8.47PAECh. 8 - Suppose you are designing a default value for the...Ch. 8 - When a student has not chosen a major at a...Ch. 8 - Prob. 8.50PAECh. 8 - Prob. 8.51PAECh. 8 - Consider the relations in Problem and Exercise...Ch. 8 - Prob. 8.53PAECh. 8 - Prob. 8.54PAECh. 8 - Prob. 8.55PAECh. 8 - Prob. 8.56PAECh. 8 - Prob. 8.57PAECh. 8 - Consider the relations specified in Problem and...Ch. 8 - Prob. 8.59PAECh. 8 - Prob. 8.60PAECh. 8 - Prob. 8.61PAECh. 8 - Prob. 8.62PAECh. 8 - Prob. 8.63PAECh. 8 - Prob. 8.64PAECh. 8 - Problems and Exercises 8-65 through 8-68 refer to...Ch. 8 - Prob. 8.66PAECh. 8 - Problems and Exercises 8-65i5 through 8-68 refer...Ch. 8 - Refer to Figure 4-5 0. For each of the following...Ch. 8 - Prob. 8.69PAECh. 8 - Prob. 8.70PAECh. 8 - Prob. 8.71PAECh. 8 - Prob. 8.72PAECh. 8 - Prob. 8.73PAECh. 8 - Prob. 8.74PAECh. 8 - Prob. 8.75PAECh. 8 - Prob. 8.76PAECh. 8 - Prob. 8.77PAE
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
- Access path A database table is composed of records and fields hold data. Data is stored in records. A field is a part of a record and contains a single piece of data for the subject of the record. The access path for finding the list of books is AUTHOR: AuthorID, Lname BOOKAUTHOR: AuthorID, ISBN BOOKS: Pubdate, ISBNarrow_forwardA database used in an order-entry system is to contain information about customers, items, and orders. The following information is to be included. – For each customer: Customer number (unique) Valid “ship to” addresses (several per customer) Balance Credit limit Discount – For each order: Heading information: customer number, “ship-to” address, date of order. Detail lines (several per order), each giving item number, quantity ordered – For each item: Item number (unique) Warehouses Quantity on hand at each warehouse Item description For internal processing reasons, a “quantity outstanding” value is associated with each detail line of each order. [This value is initially set equal to the quantity of the item ordered and is progressively reduced to zero as partial shipments are made.] Design a database for this data. note : You were asked to convert the given ERD into relations and implement it into mysql workbench.arrow_forward(a) List all employees. Relational Algebra(RA): Tuple Relational Calculus(TRC): Domain Relational Calculus(DRC): (b) List all details of employees who are female. Relational Algebra(RA): Tuple Relational Calculus(TRC): Domain Relational Calculus(DRC):arrow_forward
- Database course: a. List the details of all the employees who are from the department number 2. b. List the details of all the employees who joined the company after 01-JAN-11. c. List employeeNO and DepartmentNO of all the employees who work as ‘Engineer’ and earn more than 1800 Omani Rials. (I need the codes to copy it)arrow_forwardplease send me solution of this complete question subject: DBMSarrow_forwardNeed help in ER diagramarrow_forward
- Question 3: ( DATABASE APPLICATION DEVELOPMENT ) The following table represents the hours worked per week for temporary staff at eachbranch of a company. TempStaffHours staffNo Branch No Branch Office Name Position Hours Address Phone Per Week Center 111125 Seattle, S4555 City Plaza, ВО02 Ellen Assistant 16 Layman WA 98122 S4555 ВО04 16 14th 422263 Ellen Assistant 9. Avenue, Seattle, Layman WA 98128 S4612 Center 111125 City Plaza,Seattle, ВО02 Dave Assistant 14 Sinclair WA 98122 S4612 B004 16 14th 422263 Dave Assistant 10 Avenue, Seattle, WA 98128 Sinclair S4718 Down Town 523632 Mary Kay ВО01 Cleaner 8 Alley, Jersey, JS 76542 a) Determine one anomaly that exist in the TempStaffHours table and criticize thedesign by giving an example of the anomaly. b) Given the following functional dependencies, perform normalization until the third normal form. Give justification related to anomalies on the design of the derived relations. staffNo, BranchNo → BranchAddress, OfficePhone, Name,…arrow_forwardWhen would it be reasonable to make the assumption that two select statements taken from the same database are consistent with one another? What type of circumstances would warrant such an assumption?arrow_forwardWhen would it be reasonable to make the assumption that two select statements drawn from the same database are consistent with one another? What type of circumstances would warrant such a reasonable assumption?arrow_forward
- Table: Team Member Primary key: Team MemberID Team MemberID 1 2 3 Team MemberName Joe Bloggs Samantha Smith Pete Ngwenya Table: Task Primary key: TaskID Foreign key: Team MemberID TaskID 1 2 3 Description Build login screen Implement inventory management Add logo to splahs 1 screen TeamMemberEmail joe@theoffice.com sam@theoffice.com pete@theoffice.com Duration StartDate Team MemberID 2022-05-06 1 2022-05-15 1 4 10 2022-05-06 2arrow_forwarda. Display the employees where the salary is 2200-Upload Screen shot b. Display the employees where the salary is above 2000- Upload Screen shot c. Display the employees where the salary is greater than 2000 and the age is less than 25- Upload Screen shot d. Display only the Top 3 records from the employee table - Upload Screen shot e. Delete the employee whose ID is 2 - Upload Screen shot f. Display again only the Top 3 records from the employee table - Upload Screen shotarrow_forwardThe following four tables form part of a library database: • Book (isbn, title, author, genre, price) • Copy (copyId, isbn) • Loan (userId, copyId, loanDate, dueDate) • User (userId, name, address, email) Where: • Book contains details of books and isbn is the primary key• Copy contains details of individual copies of books and copyId is the primary key• Loan contains details of loans and (userId, copyId, loanDate) forms the primary key • User contains details of library users and userId is the primary key 3.1 Identify the primary in the above schema. 3.2 Identify the foreign keys in the above schema. 3.3 Draw an Entity relationship model (ER-model) for the above schema, including: • all attributes• correct notation for primary and foreign keys • relationships• multiplicities 3.4 Draw sample tables for the above relations, ensuring relational integrity rules are met. 3.5 Explain the Entity Integrity constraint with reference to the Book relation.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage