Computer Science 9608 · 8

8.3 DDL and DML

12 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2021 May-June · Paper 12 · Q4(c)

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…

2021 May-June · Paper 13 · Q8(d)

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…

2019 October-November · Paper 12 · Q4(b)(iv)

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. .........................................…

2019 October-November · Paper 13 · Q3(c)

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…

2019 October-November · Paper 13 · Q6(c)

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…

2017 October-November · Paper 12 · Q7(c)(i)

DDL and DML · 3 marks · official answer ready

(i) Write an SQL script to update this client’s record in the database. UPDATE ....................................................................................................…

2017 October-November · Paper 13 · Q7(d)(i)

DDL and DML · 3 marks · official answer ready

(i) Write an SQL script to update this doctor’s record in the database. UPDATE ....................................................................................................…

2017 May-June · Paper 11 · Q1(d)(i)

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’. ..............................................................…

2017 May-June · Paper 11 · Q1(d)(ii)

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 ..........…

2017 May-June · Paper 13 · Q1(d)(ii)

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 ..........…

2016 May-June · Paper 13 · Q5(d)(ii)

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. ..........................................................................…

2016 May-June · Paper 13 · Q5(d)(iii)

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. .......................................…