You are on page 1of 1

Assignment1 COMP230

COMP230 – DATABASE AND DATABASE


MANAGEMENT
WINTER 2020 Assignment 1 (10)

Note: PLAGIARISM or CHEATING by a student(s) may result in academic misconduct.


It is important to study the chapters (1, 2 and 3) before you attempt to work on this assignment.

1) Install MySQL or PostgreSQL on your home/personal computer.


Submit a screenshot that you installed it.

 https://dev.mysql.com/doc/workbench/en/wb-installing-windows.html#wb-windows-mi

 PostgreSQL Reference Documentation (use on-line --please don't print)

2) Database systems depend significantly on key attributes (keys) that uniquely identify reality
aspects that are tracked by these systems.

Sometimes a key identifies a kind of objects. For example, the product number identifies a kind
of products, such as personal computers (as opposed to tablet devices). At other times, a key
identifies each individual object; for example, a particular personal computer is identified by a
serial number, a unique, never repeated sequence of numerals.

Keys are often labelled with terms "number" or "ID" (short of "identification"). The data type
behind the term "number" may or may not be numeric; for example, SaleNumber can be an
integer assigned to a sale transaction, while VIN (Vehicle Identification Number) is a combination
of numbers, letters and special characters.

Your task is to pick out nine (9) different attributes that are or can be used as keys in database
systems. Even a brief look at everyday situations can help you accomplish this (for example, look
at any receipt from shopping). Once you pick a key attribute, you need to do the following:

1) Name the attribute (example: StudentID).

2) Give an example of the attribute’s value (real or made up sensibly; example: 2348765).

3) State a relationship between your attribute and at least one other attribute that you believe
really exists or could exist in a database system and/or in business (non-key attribute) (example:
StudentLastName).

You need to supply these three items for each of your nine keys.

You can choose any format that works for you; for example, a table, standard text using simple
sentences, or a bullet form. In any case, make sure that each of the 3 points above is clearly
marked and addressed.

It is possible to pack the whole answer on one page.

Note: Remember that you must do your own work – see the instructor if you have difficulties.

Page 1 of 1

You might also like