Question 7(d)(ii) 2018 · May-June · Paper 12 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 7
Part (d)
(ii)
Question 1
mark per bullet
Question 2
- ALTER TABLE USER
- ADD COUNTRY varchar;
Show text version of question
Question 7
Part (d)
(ii)
Question 7
A social media website has a relational database, WEBDATA, that stores the site’s information.
The database has three tables to store users’ details, and details of the images and text that they post.
USER(UserName, FirstName, SecondName, DateOfBirth) PHOTO(PhotoID, UserName, Comment, UploadDate) TEXTPOST(PostID, UserName, DateOfPost, TheText) The following shows sample data from the USER table.
UserName FirstName SecondName DateOfBirth
gem123 John Smith 01/01/1995
purpleSky Muhammed Ali 23/02/1956
OpenWindow Sunny Amir 03/03/1997
bluebird127 Raziya Bello 04/03/1982
(ii)
The database administrator needs to alter the USER table. A new field, Country, needs
to be added.
Write an SQL script to add the field Country to the USER table.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[2]
Question 15
Question 16
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.
Why this question appears here
71% assigned-topic match · Programming › Constructs
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 9608_s18_qp_12.pdf
