Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Other

Exchanging data Homework

Rating
-
Sold
-
Pages
2
Uploaded on
03-09-2023
Written in
2022/2023

a homework assignment related to exchanging data in the context of database concepts.

Institution
Course

Content preview

Homework 2 Database concepts
Unit 4 Exchanging data

Homework 2 Database concepts
1. Define the following terms:
(a) Entity [1]



(b) Primary key [1]



(c) Secondary key [2]



(d) Foreign key [2]




2. A cinema club shows up to three screenings of films on a given day. They need a database
to keep track of which films have been shown on which dates. It has been suggested that
they use one table (relation) about the films they show, which will hold the following data:
FilmID, Title, Duration, Male Lead, Female Lead, Date shown, Time shown, Tickets sold.
(a) Give a reason why this is not a satisfactory solution. [1]




(b) Show how the data could be reorganised into four relations, using the notation
Entity name (attribute1, attribute2, attribute3 …)
An underscore indicates the primary key. The entities that have been identified are
Film,
Actor, ActorInFilm and Showing. [8]




1

Written for

Study Level
Publisher
Subject
Course

Document information

Uploaded on
September 3, 2023
Number of pages
2
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

R117,18
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
Farquan

Get to know the seller

Seller avatar
Farquan The University of Nottingham
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
8
Last sold
-
STEM guru

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions