Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Read the following scenario and answer ALL questions in the answer sheet provided. JJ Pet Shop Sdn. Bhd. hires you to be their Project Manager
Read the following scenario and answer ALL questions in the answer sheet provided. 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, branchin, dateIn, dateOut) (i) Write an SQL statement that display all branches of JJ 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. (ii) Write an SQL statement to delete one record in the BRANCH table. Create your own value for each value needed. (iv) Write an SQL statement to update owner 900111126104's phone number to "0191234567". (v) Write an SQL statement that display all pets with having diet remark as either "seafood allergic" or "kibbles only
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started