Databases 2 Assignment
Databases 2 Assignment
Part A: Logical design (list of tables and attributes with data type)
Part B: Implementation and Queries (SQL)
Overview:
The purpose of this assignment is to allow students to get familiarized with
the of database development. You are being provided with requirements for
a hypothetical system, named Supermarket Database (SuperMarketDB)
that manages sales data. The SuperMarketDB database stores the sales of
a global supermarket chain. The objectives of the system are to store and
manage the sales of the supermarkets to customers.
These tables and attributes are mandatory, you may create more tables
and add more attributes to the existing tables.
For part A you to create a logical design with these tables, including the
tables name, attributes and data types. Also you must specify the primary
key and any foreign key. After the deadline of part A you will receive a
version of the database that you may use in order to create the queries.
This database contains data that you will need get feedback from queries.
Create three (3) queries your own, that they will have the syntax:
select ...
from ...
where ...
Submission:
For part A a file that shows your work.
For part B export the database (generate scripts) into a file.