ISY1002 Database Management for Business Assignment

Assignment Help Database Management System
Reference no: EM132448434

ISY1002 - Database Management for Business - Australian Institute of Higher Education

Assignment - Database Project, Report and Presentation

Learning Outcome

ULO2: Show an understanding of the fundamentals of database design, implementation, management, and maintenance, including consideration of appropriate data security
ULO3: Implement a relational database using the Structured Query Language (SQL) Data Definition Language (DDL)
ULO4: Demonstrate an ability to query a relational database using Structured Query Language (SQL) and Data Manipulation Language (DML)

Aim:

To give you practical experience in database modelling, normalization and writing SQL statements to query a relational database

Assignment Summary:

The project specification details provided in this document and you must use only given specifications to come up with your solution. Make appropriate assumptions where ever required.

Please make sure that your group must meet your lecturer/tutor at least twice to update the progress of your assignment.

System Requirements:

The system is a prototype system and as such is not a full production version. You will be required to enter a representative sample data into your tables in order to test the design and operation of your database.

Project Specification:

Part A: Entity Relationship Diagram

1. Your first task is to study the Case study requirements and gather as much knowledge to list all the main Entities and attributes.

2. Create an Entity Relationship Diagram (ERD) to help you decide on the relationships.
Your entity relation diagram that models your database design should:
i. Include all entities, relationships (including names) and attributes.
ii. Identify primary and foreign keys.
iii. Include cardinality/ multiplicity and show using crow's feet or UML notation.
iv. Include participation (optional / mandatory) symbols if applicable.
The ERD should be created as part of a Microsoft Word document. Hand-drawn diagrams will not be accepted. It is recommended that you complete your ERD using Draw.io, Visio or try gliffy(Search for ERD gliffy to get started).

Part B: Normalisation

Normalise all entities and relationships in optimal normal form. Provide the normalised schema and discuss the level of normalisation achieved for each relation. You goal should be normalise all entities in 3NF. Provide the reasons for any relation that is not maintained in 3NF.

Part C: Relational schema and MySQL database

1. Create relational schema that matches ERD and normalised schemas you created in Part A and B. The schema should include suitable data validation, integrity and referential integrity constraints, for example, types and length of attributes, primary and foreign keys etc. Make sure you follow standards, naming conventions and notation.

2. Using MySQL, you are required to develop a demonstration prototype system (database) that stores data for AMC stores, employees, products, suppliers, patrons and orders. Create a new database called AMCDB. Create tables according to your relational schema created in step 1.

Follow a standard naming convention for table names and also field names. Avoid using spaces and any special characters in table and field names. Use underscore_case or use camelCase to separate parts of a name.

You are required to be consistent in tables' name, fields' name, data types, field size and key constraints with relational schema created in step 2.

3. Add at least three records into each table.

Part D: SQL

Use the AMCDB database that you created in MySQL to design and execute SQL queries that answer the following questions.

Number your answers to each question clearly. The answer to each question must be tabulated as shown in the example below and include the SQL statement and also the output that is produced when you execute the statement in your database. The output includes the records that are listed and also the message that appears when you run the SQL statement.

Question 1:

SQL:

SELECT lName, position FROM Staff

WHERE salary > 20000;

Output:

+-------+----------+

| lName | position |

+         +            +

| Brand | Manager |

| White | Manager |

+         +            +

2 rows in set (0.03 sec)

Do not use screen captures to display the SQL statement or the output.

You should right-click on the MySQL Command Prompt window; choose Mark and then press the [Enter] key to Copy and then Paste into your Word document that includes the answers to all questions.

Format and indent the clauses in your SQL statements for better readability and understanding as shown in the example above. Statements must be syntactically and semantically correct.

Format both the SQL and also the Output in Courier New 10 or 11 point.

1. List the full name of Patrons, phone number and address in the descending order of customer number. The full name is comprised of first and last name joined with single space. Use the alias Customer full name for the composed column heading.

2. List all the products having price less than $100.

3. List the product number, product title, quantity ordered, unit price and total amount per product (unit price * quantity ordered) for order having order number 1005.

4. List name, full address and fax number of stores that has the word ‘George' anywhere in the street component of address. Your query should consider the case sensitivity of the street as well i.e. the stores with words ‘George', ‘GEORGE', ‘george', ‘GeorGe' etc. in street should be returned by your query too.

5. List all the orders having at least two different products ordered.

6. List customer number, name and address of all the customers who has not placed any order.

7. Retrieve first name, last name and employee number of all the employees along with department name and store name where they work.

8. For each store, display store name and number of employees works in account department.

9. List all the orders placed for financial year 2018 i.e. orders placed after 30/06/2017 and before 01/07/2018.

10. Retrieve customer number and the total number of orders placed by each customer.

11. For each order, retrieve the order number, order date and number of products ordered in it. Sort the output in descending order of order number.

Part E: Personal Report - Every group member needs to write this part individually and add to the documentation

1. Write a page to the AMC proprietors as a personal reflection that describes your experience building the database. You can discuss any challenges / difficulties that you experienced or solutions that you found. Comment on any limitations and / or strengths of your database design. Comment on whether your database meets all the system requirements as specified in Project Specification. Avoid making excuses or comments that reflect negativity. Include an acknowledgement of all students you have spoken to about the assignment.

Part F: Report Layout, SQL script and presentation
1. Deliverables for Parts A, B, C, D and E must be printed as a report with a cover sheet attached. See Administrative Details on page 10 for more details. Your report must include header and footer that include all the group members' name and student number, unit name, assignment name, and page numbers. Your report must be checked for spelling and grammar. Your report must also be formatted so that it is well set out and easy to read.

a) Each group must submit a single zip file on Moodle which contains all the assignment files (single word file with deliverables for parts A - D, separate personal reports for each group member, MYSQL backup script notepad file and presentation).

b) The SQL that can be used to restore your database should also be uploaded to Moodle. You can create the SQL for your database as follows:

Use the mysqldump command to create a text version of the database. Use mysqldump to create SQL file that contains a list of SQL statements which can be used to restore/recreate the original database.

The syntax is as follows:

$ mysqldump -u [uname] -p[pass] [dbname] > [backupfile.sql]

WHERE:
[uname] Your database username
[pass] The password for your database
[dbname] The name of your database
[backupfile.sql] The filename for your database backup

You do not need to log on to MySQL. For example, from the DOS command prompt, the syntax is:

e:\xampp\mysql\bin>mysqldump -u root MyDB > e:\MyDB_bak.sql This will create the SQL file that can be used to restore your database. OR ---
You can save your script as you go to notepad.

You are also required to present your work in the class. The presentation can be around 5 to 10 minutes long.

Attachment:- Database Management for Business.rar

Reference no: EM132448434

Questions Cloud

Create outcomes for your capstone project intervention : After working with your preceptor to assess organizational policies, create a list of measurable outcomes for your capstone project intervention.
Define the steps of the systems development life cycle : To Prepare: Review the steps of the Systems Development Life Cycle (SDLC) and reflect on the scenario presented. Consider the benefits and challenges associated
Discuss the formal intervention strategy used : Identify one additional formal intervention strategy that the team thinks could have had the same or better outcome.Discuss the formal intervention strategy use
The concepts of capitalism and socialism : Determine the considerations for and process of ethical business decision making to balance corporate and social responsibilities,
ISY1002 Database Management for Business Assignment : ISY1002 Database Management for Business Assignment Help and Solution, Australian Institute of Higher Education - Assessment Writing Service
Describee point of discussion that affected your viewpoint : Describe one point of discussion that affected your viewpoint on caring for patients with mental health disorders. Did you find this speaker to be helpful.
Evaluating competencies of interprofessional collaboration : Interprofessional collaboration is essential for advanced nursing practice and the success of the healthcare team. It is crucial to remember that all healthcare
Define how characteristics may lead to elder abuse : Describe the characteristics of the aging process. Explain how some of the characteristics may lead to elder abuse (memory issues, vulnerability, etc.).
What financial ratio means terms of TRI financial stability : Interpret what each of these financial ratios means in terms of TRI's financial stability and operating efficiency.Calculate the select financial ratios

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd