Question 9(d) 2023 · February-March · Paper 22 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (d)
Question 2
Show text version of question
Question 9
Part (d)
Question 9
A shop that sells books has set up a new database table called BookList to store book details.
Part of this table is given.
CatNo Title Fiction Author PaperBack Price StockLevel BK01 The Princes’ Story Yes B Penn Yes 4.50 500 BK02 The Princesses’ Story Yes B Penn Yes 4.50 350 BK03 Computer Science No Way Yu Yes 19.99 20 BK04 The Modern World No P Patel No 25.00 5 BK05 The Ancient World Yes P Patel No 25.00 5 BK06 Computer Science No R Dale Yes 27.35 8 BK07 The Princes’ Story Yes B Penn No 12.50 3 BK08 The Princesses’ Story Yes B Penn No 12.50 0 BK12 Famous Five Yes E Bly Yes 2.75 45 BK15 Secret Seven Yes E Bly Yes 2.75 25 BK16 The Last Knight Yes P Mann Yes 5.99 7 BK17 The Dark Tower Yes P Mann Yes 5.99 5 BK19 The Final Chase Yes P Mann Yes 5.99 5 BK21 Maths Today Part 1 No B Ward Yes 6.75 25 BK22 Maths Today Part 2 No B Ward Yes 6.75 15 BK23 Maths Today Part 3 No B Ward Yes 6.75 10 BK26 Maths Today Workbook No B Ward Yes 6.75 30 BK27 Knitting for Beginners No A Smith Yes 6.99 3 BK30 Woodwork for Beginners No A Smith Yes 6.99 4 BK31 Networking for Beginners No A Smith Yes 6.99 0
Part (d)
Write the output from this structured query language (SQL) statement.
SELECT CatNo, Title, Author
FROM BookList
WHERE StockLevel = 0;
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Why this question appears here
98% assigned-topic match · Databases
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 0478_m23_qp_22.pdf
