8.1 Database concepts
88 questions in this subtopic. Open a question to solve it and check the official answer.
Database concepts · 2 marks · official answer ready
(i) Explain what is meant by a foreign key. Use [2]
Database concepts · 3 marks · official answer ready
(ii) Explain how keys are used to implement the one-to-many relationship between the two entities X and Y shown below. Entity X Entity Y [3] 3
Database concepts · 2 marks · official answer ready
(i) Explain what is meant by a primary key. [2]
Database concepts · 2 marks · official answer ready
(iii) There is a relationship between tables Student and StudentSubjectChoices. For Examiner's Use Explain how the relationship is established using a primary key and foreign key.…
Database concepts · 2 marks · official answer ready
(i) Explain what is meant by a primary key. [2]
Database concepts · 2 marks · official answer ready
(iii) There is a relationship between tables Student and StudentSubjectChoices. For Examiner's Use Explain how the relationship is established using a primary key and foreign key.…
Database concepts · 2 marks · official answer ready
(i) Explain what is meant by a foreign key. [2]
Database concepts · 5 marks · official answer ready
2 The leaders of a youth club want to create a database to store details of: MEMBERs; SESSIONs and ACTIVITYs. The sessions are each evening from Monday to Friday. Each member can …
Database concepts · 5 marks · official answer ready
2 The leaders of a youth club want to create a database to store details of: MEMBERs; SESSIONs and ACTIVITYs. The sessions are each evening from Monday to Friday. Each member can …
Database concepts · 5 marks · official answer ready
2 A buildings maintenance company looks after a number of BUILDINGs in a city. Each BUILDING is occupied by one or more FIRMs. Each FIRM may have premises in more than one BUILDIN…
Database concepts · 1 mark · official answer ready
(i) State the type of relationship between the MEMBER and BOOK tables. [1]
Database concepts · 2 marks · official answer ready
(ii) Draw the relationship between the MEMBER and BOOK tables in third normal form as an E-R diagram. [2]
Database concepts · 2 marks · official answer ready
(i) primary key, [2]
Database concepts · 2 marks · official answer ready
(ii) foreign key, [2]
Database concepts · 2 marks · official answer ready
(iii) secondary key. [2]
Database concepts · 1 mark · official answer ready
(a) Draw the relationship between the CUSTOMER and ACCOUNT tables in the form of an entity-relationship (E-R) diagram. [1] A number of stock items will be stored on each account. …
Database concepts · 2 marks · official answer ready
(iii) foreign key. [2]
Database concepts · 1 mark · official answer ready
(i) State the type of relationship between the two tables. [1]
Database concepts · 2 marks · official answer ready
(ii) Explain how the relationship between the student and teacher tables can be normalised. [2]
Database concepts · 3 marks · official answer ready
(iii) Draw the normalised relationship between the tables in the form of an entity-relationship (E-R) diagram. [3]
