Produce a logical design for the database


Assignment

Module Learning Outcomes assessed:

Knowledge & Understanding:

1. Key data modelling concepts, application of database theory, principles for supporting business and information systems.

Intellectual / Professional skills & abilities:

2. Conceptual data modelling, relational database design and implementation in SQL & PL/SQL, and object-based databases.

Personal Values Attributes (Global / Cultural awareness, Ethics, Curiosity) (PVA):

3. Realise the responsibilities of database designers with respect to professional, legal, security and ethical issues.

Section 1) Tasks of the Assignment

Part 1

This part is based on the EasyMovescenario in the Appendix

(A) Using a database design approach of your choice, produce a logical design for the database to support the EasyMove online property marketing system.

Your answer must consist of ONE of the following:

• An entity-relationship (ER) diagram and its mapping into a set of relations. The ER diagram should show all relevant entity types, relationship types, attributes, keys, and structural constraints. Note that not all keys are identified/mentioned in the scenario/partial data dictionary, so you are required to identify/devise appropriate keys for all the entity types. Your ER diagram must not show/include any foreign keys/attributes. As part of the mapping process, for each relation, you should identify appropriate primary keys as well as foreign keys (if applicable). Furthermore, you need to make sure your relations obtained from mapping your ER diagram are in 3rd normal form.

(OR)

• A set of normalised relations obtained through normalisation process instead of ER modelling. You should make clear how the normalisation process has been carried out, and the reasoning employed, in particular quoting/providing evidence (series of steps) to support the decisions made and how your relations have been derived. Each relation in your answer should be in 3rd normal form.

(B) Based on your logical design from Part 1 (A) and the information available in the scenario, produce an SQL script file using Oracle 11g/12c.

Your submission must include:

• An SQL script file containing appropriate SQL DDL (e.g., CREATE TABLE, ALTER TABLE, etc.) statements for creating all the relations from Part 1 (A).

• The output from running the script file in a live Oracle 11g/12c session (e.g., using SPOOL, copy and paste, screenshots, etc.).

• You should use relational features from the SQL92 standard in Oracle 11g/12c for constructing your data structures / tables, including appropriate primary and foreign keys.

• You should aim for a high degree of reliability in the data with use of as many constraints as possible, e.g., check constraints on various columns (e.g., particular format of primary key values, positive physical values as described in week 4 lecture slides on integrity constraints).

Part 2

This part is based on your answer / solution to Part 1, i.e., design and implementation of the database for the EasyMove scenario.

(A) Populate the database with some data (by generating your own data like 5 to 10 rows for each table and enough data to see meaningful output for the queries below).

(B) Answer the following queries (retrievals) using SQL and relational algebra.

1) Display details of semi-detached properties for sale having at least three bedrooms in the Jesmond area of Newcastle upon Tyne that were added to the system in the last 14 days.

2) Display details of properties sold in Newcastle, Sunderland, Gateshead or Durham for £157,000 to £279,000 in the years 2017 or 2018.

Your submission must include:

• Relational Algebra expressions.

• An SQL script file containing appropriate SQL DML (e.g., INSERT) statements for populating the tables you have created in Part 1 (B).

• An SQL script file containing SQL retrieval (e.g., SELECT) statements for Part 2 (B).

• An output file for running each of above the script files in a live Oracle 11g/12c session (e.g., using SPOOL, etc.).

Part 3

(A) Consider the EasyMove scenario in the Appendix. Produce a report for the managing director of the company elaborating on the professional, legal and ethical issues that need to be considered and make any recommendations that you think are appropriate for development and management of the database for EasyMove.

The report should be concise and comprehensive and in the region of 800-900 words. You should use Harvard style of citation and referencing by following the guidelines in Pears and Shields (2008).

(B) Compare and contrast different approaches to database design (e.g., entity relationship modelling, normalisation, etc.) and briefly justify the approach you have used for answering Part 1 (A).

The report should be concise and comprehensive and in the region of 600-700 words. You should consult a range of literature (e.g., database text books, journal and conference articles, and quality websites). Again you should use Harvard style of citation and referencing by following the guidelines in Pears and Shields (2008).

References

Pears, R. and Shields, G. (2008) Cite them right: the essential referencing guide.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Attachment:- APPENDIX.rar

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Produce a logical design for the database
Reference No:- TGS02977813

Expected delivery within 24 Hours