Databases
24 questions. Open a question to solve it and check the official answer.
Database concepts · 3 marks · official answer ready
(i) Write an SQL query to display the shop ID and location of all shops with a ‘GROCERY’ specialism. ..............................................................................…
Database concepts · 3 marks · official answer ready
(ii) The existing shop with ID 8765 has just used the existing supplier SUP89 for the first time. Write an SQL script to add this data to the database. ...........................…
Database concepts · 2 marks · official answer ready
(iii) Draw the relationships on the entity-relationship (E-R) diagram. B-NURSE B-WARD B-WARD-NURSE [2]
DDL and DML · 3 marks · official answer ready
(ii) Fatima Woo is an Area B nurse with the nurse ID of 076. She has recently married, and her new family name is Chi. Write an SQL command to update her record. UPDATE ..........…
