Skip to content

Course home

Structured query language (SQL)

Structured query language (SQL)

EasyMediumHard
1234567
Question 2

A book called Othello from the year 1622 is to be added to the database with a BookID of 204.

Book

BookIDTitlePublishedYear
201Hamlet1603
202Macbeth1623

Writing

WritingIDBookIDAuthorID
50120115
50220215

Author

AuthorIDFirstnameLastname
15WilliamShakespeare

The following SQL query is run to insert this new book into the database:

INSERT INTO X
Y ( Z )

Some parts of the SQL query have been replaced by the labels X, Y, and Z.

State the SQL terms or values that should have been written in place of the labels X, Y, and Z.

[3]
Markscheme

Structured query language (SQL) Questions

  1. GCSE
  2. /Computer Science
  3. /Structured query language (SQL)

25 exam-style questions on AQA GCSE Computer Science Structured query language (SQL). Each one has a worked solution and a mark scheme showing where the marks go.

Question bank