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) (iv) Write an SQL statement to update owner 900111126104's phone number to "0191234567". (1) Write an SQL statement that display all pets with having diet remark as either "seafood allergic" or "kibbles only". (vi) Write an SQL statement that display all branches that can accommodate 50 or more pets per day

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_2

Step: 3

blur-text-image_3

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions