Design relational database system for a substantial problem

Assignment Help Database Management System
Reference no: EM133353209

Database Design and Development

Assignment - Portfolio - TOP Hair dressing

Learning Outcome 1: Use an appropriate design tool to design a relational database system for a substantial problem.

Learning Outcome 2: Develop a fully functional relational database system, based on an existing system design.

Learning Outcome 3: Test the system against user and system requirements.

Scenario

Topic - TOP Hair dressing - Hair dresser, with many clients and treatments carried out.

You have been provided with a topic. You are to supply a report containing the following deliverables: -

Q1. Analyze the business you are devising the database system for. Describe the business rules, and data involved. Explain why the data is important to the information system being developed. Related to your specific topic, discuss the legal and ethical issues involved in managing your data. (P1,M1,D1)

Q2. Using the Oracle Data Modeler Tool DRAW AN ERD DESIGN: AT LEAST 4 OR 5 entities ARE EXPECTED. Include attributes, cardinalities and relationship names. Ensure the diagram is readable. (P1,M1,D1)

Q3. List the Relational Table Headings. Show clearly any primary keys (underlined) and foreign keys (shown with an *, or in italics). Your tables must match your ERD, otherwise 0 marks. Select suitable primary keys for every table. (P1,M1,D1)

Q4. Use MySQL or SQL server and Create your database (ensure you save your CREATE TABLE statement). Highlight any additional constraints added. Ensure AT LEAST ONE table has a COMPOSITE PRIMARY KEY. The primary and foreign keys should be added at the same time as your CREATE TABLE statement, i.e., do not use ALTER TABLE to add them after. (P2,M2,D2)
0 marks if you use any other DBMS or auto-generated DDL code.

Q5. Populate all the tables with data (having 8 or more rows per table). Show all rows, (use SELECT * from <tablename>;) of data in every table created. Good/suitable TEST DATA created. Note, the tables at the many end of a relationship should contain more data. (P3,M3,D3)

SQL & QUERIES:
Devise 6 SQL queries that demonstrate appropriate use of the following:

Q6. Use of the BETWEEN logical operator;

Q7. AN example of DISTINCT within your query

Q8. TO_CHAR function;

Q9. An aggregate function in the SELECT list

Q10. A GROUP BY command

Q11. A SUBQUERY;
At least one of the above queries should include data from more than one table and a different query should demonstrate the use of an OUTER JOIN. (P3,M3,D3)

Include the following for each query:
- A short sentence saying what the query is doing
- SQL Query
- Result

Q12. Devise a DELETE command that tests the foreign keys (testing of the referential integrity of the PK-FK relationship). Explain any error message.

Q13. Use an UPDATE command to test the foreign keys. Explain what the error message means.

Q14. Use an INSERT command to test the primary key (test the entity integrity), explain what the error message means.
(Include the query and comment on any results. Show at least 2 queries for each part (l-n): one that works successfully and one that does not.)

Reference no: EM133353209

Questions Cloud

How children are viewed historically and today : Child labor has been a major social issue. Please be detailed. Give different movements that were created change to child labor. Include change related
This retrieve and reduce activity encourages reflection : This Retrieve and Reduce activity encourages reflection on important concepts learned in class and the practice of your business writing skills.
Remain competitive in global market : What does the United States have to do to remain competitive in the global market?
Compare several violent and nonviolent resistance movements : Compare several violent and nonviolent resistance movements. Who are the principal actors, and what are their goals, strategies, and tactics?
Design relational database system for a substantial problem : Unit 4 Database Design & Development - Higher National Diploma in Information Technology Develop a fully functional relational database system
Explore whether salman had skills gap : Explore whether Salman had a skills gap. Consider Salman's professor's point of view; what assets does she identify and discuss?
How habitualized actions may become institutionalized : Explain how habitualized actions may become institutionalized according to Berger and Luckmann. In which ways could we say that the relationship
What role should governments and global citizens have : What role should governments and global citizens have in addressing issues related to human rights, democracy, and ideology in other countries? Explain.
Separate property under law of community property : Insurance policies applied for and issued before a marriage are considered separate property under the law of community property.

Reviews

len3353209

3/5/2023 11:19:41 PM

I want you to make this assignment. no word limit, no page limit. this is a assignment related to databases. and this should be done via Microsoft Office. Use Harvard style referencing. all the instructions are given in the uploaded file. Please note that i want the final document in DOCX fomat. (That means this assignment should be done via Microsoft Office)

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