0% found this document useful (0 votes)
101 views3 pages

1.8 Database 9618 s22 QP 12

The document outlines a database structure for storing information about films and actors, including tables for actors, films, and their relationships. It includes tasks such as completing an E-R diagram, explaining the composite primary key in the FILM_ACTOR table, and writing SQL scripts for data retrieval and counting films. Additionally, it describes features of a Database Management System (DBMS) and requires completion of descriptions related to its functionalities.

Uploaded by

Aarshiya Bohara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views3 pages

1.8 Database 9618 s22 QP 12

The document outlines a database structure for storing information about films and actors, including tables for actors, films, and their relationships. It includes tasks such as completing an E-R diagram, explaining the composite primary key in the FILM_ACTOR table, and writing SQL scripts for data retrieval and counting films. Additionally, it describes features of a Database Management System (DBMS) and requires completion of descriptions related to its functionalities.

Uploaded by

Aarshiya Bohara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

8

5 A database, FILMS, stores information about films and actors.

Part of the database is shown:

ACTOR(ActorID, FirstName, LastName, DateOfBirth)


FILM_FACT(FilmID, FilmTitle, ReleaseDate, Category)
FILM_ACTOR(ActorID, FilmID)

(a) Complete the entity-relationship (E-R) diagram.

ACTOR FILM_FACT

FILM_ACTOR

[2]

(b) A composite primary key consists of two or more attributes that together form the primary key.

Explain why the table FILM_ACTOR has a composite primary key.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

............................................................................................................................................. [2]

© UCLES 2022 9618/12/M/J/22


9

(c) Complete the SQL script to return the IDs of all the actors in the film with the title Cinderella.

SELECT .......................................................................................

FROM FILM_ACTOR

INNER JOIN ........................................................................................

ON FILM_FACT.FilmID = ..............................................................................

WHERE FILM_FACT.FilmTitle = .............................................................................. ;


[4]

(d) Write an SQL script to count the number of films that were released in January 2022.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

............................................................................................................................................. [3]

© UCLES 2022 9618/12/M/J/22 [Turn over


10

(e) A Database Management System (DBMS) is used to create and manipulate the database.

Complete the descriptions of the features and tools found in a DBMS using the given terms.
Not all terms will be used.

Boolean data dictionary data redundancy field names

input interface logical schema normalisation

operating system output primary keys query

structure

A DBMS provides data management. This includes the development of a

....................................................... that stores information about the data stored, such as

....................................................... and ....................................................... .

The ....................................................... uses methods, such as an E-R diagram, to show the

structure of the database and its relationships.

The ....................................................... processor allows a user to perform searches to find

specific data. The DBMS also provides a developer ....................................................... that

allows the user to create tables, forms and reports.


[6]

© UCLES 2022 9618/12/M/J/22

You might also like