Database using the Structured Query Language

Assignment Help Other Subject
Reference no: EM132612265

ISY1002 Database Management for Business - Australian Institute of Higher Education

Assignment - Database Project, Report, PostgreSQL database Implementation, and Individual Video Presentation

Learning Outcome 1: Show an understanding of the fundamentals of database design, implementation, management, and maintenance, including consideration of appropriate data security

Learning Outcome 2: Implement a relational database using the Structured Query Language (SQL) Data Definition Language (DDL)

Learning Outcome 3: Demonstrate an ability to query a relational database using Structured Query Language (SQL) and Data Manipulation Language

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.

Background Information for Sample Database Project:

Australian Manufacturing Company (AMC) requires a database system to manage their stores, employees, products, suppliers, patrons and orders.

The following information has been gathered about current business activities of AMC.

AMC has many stores in different cities across Australia. Each store has unique store number and other details like name, contact details (phone number, email address and fax number) and location details (postal address composed of street number, suburb, state and postcode).

There are many departments within each store, for example, HR, accounts, finance and sales etc. each department is uniquely identified by department number. AMC also records department title, phone number and email address.

Each store has a number of employees. Each department is supervised by a department supervisor and each store is managed by a store manager who both are employees of AMC. Each department has a single supervisor only i.e. the department supervisor is also the supervisor for all the employees work within that department.

Each employee is referenced by unique employee number, name (first and last names), address, mobile number, email, TFN, salary and joining date. An employee's salary is recorded differently as per his or her employment type. Employees can be employed as fulltime or casual basis. For a fulltime staff, annual salary is recorded and hourly rate for a casual staff.

Each store creates payslips for all employees work in that store on a weekly basis. As a minimum payslip number, no of hours worked, employee detail, store detail and gross pay are recorded.

AMC sales different products like fashion, health, beauty, electronics etc. Each product is characterised by product number, name, brand, description and price.

Each product can be supplied by one or more supplier and each supplier can supply one or many products. AMC also keeps appropriate details of their suppliers.

Each store maintains an inventory of their products available for sale. The quantity of each product available in store and the quantity ordered are kept.

AMC patron visits the store and shops in the store. Each customer is characterised by customer number, name (first and last names), mobile number and address.

A patron may place orders. An order contains one or many products at a time. A store keeps track of order number, order date, product(s) ordered and quantity ordered for each product.

The proprietors of AMC have appointed your group as Database System Consultant to analyse, design and develop conceptual data model and physical database. They want a software/online application in future to be built on the database you design so that the operation of the AMC is greatly improved.

Your created models must accommodate the provided requirements. It is understandable that the provided information may not sufficient to create model that centralise all the data appropriately. You are free to make assumptions about their business activities if require. Make sure you record your assumptions.

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:

1. 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. It is required students to use Crow's Foot Notation to 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 notation.
iv. Include participation (optional / mandatory) symbols if applicable.

2. Part B: Normalisation
1. 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.

3. Part C: Relational schema and Implementation of the Postgre SQL 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. Implementation of the PostgreSQL database, include to create tables, build relationships between tables, insert values into tables, and Using psql program to import the created relational database file, AMCDB.sql into PostgreSQL Database.

(1) Create tables according to your relational schema created in step 1.

a. 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.sql.

b. 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.

c. 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.

(2) Insert values into tables, add at least five records into each table.

4. Part D: SQL
Use the PostgreSQL Database that you created and imported the file AMCDB.sql 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.

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.

5. Part E: Final Report Layout, SQL script and presentation
1. Deliverables for Parts A, B, C, and D must be printed as a report with a cover sheet, which includes student's name and student number, unit name, assignment name. See Administrative Details on page 10 for more details. Your report must include footer that includes page number, 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 as follows:
(1) Single word file with deliverables for parts A - D,
(2) The AMCDB.sql that can be used to restore your database should also be uploaded to Moodle. You can create the PostgreSQL database file that contains a list of SQL statements which can be used to restore/recreate the original database.

6. Part F: Individual Personal Report, Presentation slides and 5 minutes video presentation - Every group member needs to write/make this part individually, to add the video link to the title page of the presentation slide, and to submit all files through A3 Part 3 submission link to Moodle, also needs to submit presentation slide and video to Google drive for peers review. The video presentation will be marked by peers.

1. Make a 5 minutes individual video presentation, including presentation slides, and Write a page to the AMC proprietors as a personal reflection that describes your experience building the database, and your contribution to your group project. 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.

2. The individual Presentation slides should include information as follows:
The title page should include student's name, ID and the link of your YouTube Video.

(1) The 1st slide describes the project domain modelled by this database. One slide could be enough. The audience just need to know enough about the domain to understand the ERD.
(2) The 2nd slide includes the complete ERD for this database.
(3) The 3rd slide includes the illustration a single one - to - many relationship in the database. This slide should show both the relationship as shown in the ERD and its realizations in tables, with some example values in the tables.
(4) The 4th slide shows one query and output of Part D in Group Project Outline.
(5) The last slide shows your contributions, any challenging issues, or any future work.

3. The video presentation + Q&A will be presented during class in week 11, around 5 to 10 minutes long for each video.

Attachment:- Database Management for Business.rar

Reference no: EM132612265

Questions Cloud

Find what is the direct materials efficiency variance : Find what is the direct materials efficiency variance? Digital Art manufactures decorative wall hangings. The company uses standard costs to prepare
Explain if direct labour costs could ever better cost driver : How is the standard variable overhead rate different from the standard labour rate in variance analysis? Explain if direct labour costs could ever better cost
Define ethical principles that influence you personally : The role of the health care professional includes being a moral agent or a person whose actions affect themselves and others at a moral level. It is important.
Prepare Sweet Orchards co Ltd income statement : Stock at the close of business was valued at Sh 177,500. Prepare Sweet Orchards co. Ltd's income statement for the year ended 30 June 2018
Database using the Structured Query Language : Relational schema and Implementation of the PostgreSQL database - uild relationships between tables, insert values into tables, and Using psql program
Compute the contribution margin per machine-hour : Compute the contribution margin per machine-hour. If there is a machine breakdown, which model is the most profitable to produce? Why?
Define characteristic findings of immune dysfunction : Discuss characteristic findings of immune dysfunction for either hypersensitivity reactions or AIDS. Explain what symptomology the patient would exhibit and.
Discuss what symptoms are associated with anaphylactic shock : Discuss what symptoms are associated with anaphylactic shock and how the nurse differentiates these from other conditions or issues. What steps should be taken.
Make closing entries for Wu Delivery Services : Problem - The adjusted trial balance of Wu Delivery Services, prepared in alphabetical order follows. Make closing entries for Wu Delivery Services

Reviews

Write a Review

Other Subject Questions & Answers

  Describe the characteristic of the community

Describe the characteristic of the community that make it vulnerable to this problem and the strengths that give the community resilience and the potential

  Analyze the experience using theories and concepts

Analyze the experience using theories and concepts from the course. Must cite concepts, key-terms, definitions, and examples from textbook.

  Examine ethical issues and dilemmas in business

Ex amine the manner in which Walmart's business philosophy has impacted its perception of being unethical towards supply and employee stakeholders.

  What is this agency philosophy toward self-care

Define self-care. What is this agency's philosophy toward self-care? Evaluate how this philosophy benefits the staff and the work they do with clients. Discuss ramifications when self-care is not used in the human services profession.

  New technologies affected global domination-stratification

How has the introduction of new technologies affected global domination and stratification?  Bruce, a US Senator, owns about 3,000 acres of prime farmland, is one of the wealthiest men in the county, and enjoys a great deal of prestige in his communi..

  Perform a two-way analysis of variance

A researcher is interested to learn if there is a linear relationship between the hours in a week spent exercising and a person's life satisfaction.

  Magical island of cardinal land

The magical island of Cardinal Land has a pay as you go funded Social Security system with twice as many workers as retirees and an average benefit

  Sexually Violent Predators Assignment

Sexually Violent Predators Assignment help and solutions:-Sexually violent predators are among the most feared and the most ridiculed individuals in our society

  How did the growth of technology have an effect on americans

The United States Constitution stands apart in history as the cornerstone document for a nation like none before it, but it was not the first law of the land.

  Research about the hispanic women in politics

The purpose of this assignment is to draft a preliminary review of information sources for your applied research study (Hispanic women in Politics).

  Why was freud work so influential

What links the theorists in the psychoanalytic theory group? What are three or more psychoanalytic concepts relevant to today's culture? Explain their relevance and provide an example of each.

  Reflect on the meaning of the reconstructionist

Reflect on the meaning of the reconstructionist/futurist/critical pedagogy agenda. How does that agenda line up with a biblical position? Where does it fall sho

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