8.3 DDL and DML
12 questions in this subtopic. Open a question to solve it and check the official answer.
DDL and DML · 5 marks · official answer ready
(c) The table, GUIDE_TABLE, is created. Each guide has a unique guide ID. Part of the table GUIDE_TABLE is shown: GuideID Guide DateOfBirth Gender 1 Artem 07/03/1992 M 2 Kenton 08…
DDL and DML · 3 marks · official answer ready
(d) Part of the EMPLOYEE table is shown: EmployeeID FirstName LastName Salary DOB Gender 001 Jasmine Chen 25 000 25/12/2000 F 002 Kenton Archer 20 000 01/04/1993 M 003 Michael Rou…
DDL and DML · 3 marks · official answer ready
(iv) Write a Data Manipulation Language (DML) script to return the first name and last name of all members who have Peak membership type. .........................................…
DDL and DML · 2 marks · official answer ready
(c) The following table has four SQL scripts. Tick (✓) one box in each row to identify whether the script is an example of a Data Definition Language (DDL) statement or a Data Man…
DDL and DML · 4 marks
6 ............................ [2] (c) The following table has four SQL scripts. Tick (✓) one box in each row to identify whether the script is an example of a Data Definition Lan…
DDL and DML · 3 marks · official answer ready
(i) Write an SQL script to update this client’s record in the database. UPDATE ....................................................................................................…
DDL and DML · 3 marks · official answer ready
(i) Write an SQL script to update this doctor’s record in the database. UPDATE ....................................................................................................…
DDL and DML · 3 marks · official answer ready
(i) Write an SQL query to display the Nurse ID and family name for all Area B nurses with a specialism of ‘THEATRE’. ..............................................................…
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 ..........…
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 ..........…
DDL and DML · 3 marks · official answer ready
(ii) Write an SQL script to display the StudentID, Grade and DateOfAward for the QualCode value of SC12. ..........................................................................…
DDL and DML · 4 marks · official answer ready
(iii) Write an SQL script to display the FirstName and LastName and QualCode for all STUDENT-QUALIFICATIONs for which the Grade value is A. .......................................…
