Question 1
0478 Paper 2 — style1 markA Members table has the fields: MemberID, FirstName, Surname, JoinYear, Active.
Write an SQL query to display all the data held about every member. [1]
Model answer
SELECT *
FROM Members;
Returns every field (MemberID, FirstName, Surname, JoinYear, Active) for every row in the table.
Why this scores
1 mark: SELECT * FROM Members (AO2 — apply SQL syntax). SELECT * is the correct way to return all fields; listing all five field names by hand is also accepted but is slower and error-prone.