Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read the following scenario and answer ALL questions Include SCREENSHOTS OF SQL STATEMENTS JJ Pet Shop Sdn. Bhd. hires you to be their Project Manager

image text in transcribed

Read the following scenario and answer ALL questions Include SCREENSHOTS OF SQL STATEMENTS JJ Pet Shop Sdn. Bhd. hires you to be their Project Manager cum Database Designer for their new project, a pet boarding management system. Assume you have normalized the raw data into the 3rd Normal Form. Below shows the Pet, Owner, Branch and Boarding tables. PET (id, name, type, breed, owneric, dietRemark) OWNER (ic, name, address, phoneNo, points) BRANCH (id, city, capacity) BOARDING(id, PetID, branchid, dateIn, dateOut) (1) Write an SQL statement that display all branches of IJ Pet Shop Sdn. Bhd. (ii) Write an SQL statement to insert a new record in the OWNER table. Create your own value for each value needed. Points by default is 0. (iii) Write an SQL statement to delete one record in the BRANCH table. Create your own value for each value needed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

Analyze the impact of labor unions on health care.

Answered: 1 week ago

Question

Assess three motivational theories as they apply to health care.

Answered: 1 week ago

Question

Discuss the history of U.S. labor unions.

Answered: 1 week ago