Create and test a database in mysql

Assignment Help Database Management System
Reference no: EM131323844

A. Task Description

Overview

Your task is to create and test a database in MySQL using PhpMyAdmin. You are provided with a scenario and supporting documents, describing the requirements that Southern Cross University may have for a database to handle their student enro ments. You are provided with the design for such a database and will need to create a relational database to meet the client needs. You will also need to add sample data and create SQL queries to provide results suitable for reporing.

Scenario
Southern Cross University provides a variety of Bachelor degrees to students studying internally across campuses at Coffs Harbour, Lismore and the Gold Coast, as well as by distance education. Student enrolments and their progress in units need to be stored in a database. A systems analyst has designed this database (see Entity Relationship Diagram provided). You have been brought nto the project to finish creating and testing the database to support SCU needs.

Additional to the ERD, SCU has provided you with some lists and details about what information needs to be stored for enrolment and recording of student results. Some of the data for each of these lists has been provided in the file SCUStudentEnrolment.xlsx, included with this a sessment. The client has provided you with as much as they know about the data requirements. As with most client-provided data, much information is duplicated in the sample data (that is, the data is not normalised), and the spreadsheets do not reflect the finished database table design. You will have to decide on and set the data-types and lengths, as well as finish the design of the database.

In addition to storage of information about students, courses (such as Bachelor of IT), units (such as CSC00228), staff and workshops, you must allow for the following:

Record student enrolment in a course, including enrolment date;
Record student enrolment in a unit, including the Session and the type of enrolment (internal or external);
Record student enrolment in a workshop;
Record student assessment submission, with date submitted and marks given.

Assignment 2 Report
Using the ERD supplied and the data requirements provided in the Excel file, you must analyse the database needs of the client. You should provide an explanation of your database decisions or data you feel is relevant in your Assignment 2 report. Some suggested headings for the first part of this report:
* Client Business Rules
* Assumptions Made
* Naming Conventions
* Data types chosen

MySQL database
Create a MySQL database using phpMyAdmin. You must name this database as your username followed by A2. For example: rmason10A2.
You will build the required tables, columns, data types and relationships based on your analysis. You are free to add any tables you feel are needed or would enhance the system. You must include, but are not limited to, the client's specific data requirements. You may choose to add additional data columns to store other information about students, teachers, etc if you wish to do so.

Test Data
You must provide enough valid data in your database to run the SQL queries below successfully with at least 5-10 resulting rows. In particular, association tables will need to be sufficiently populated to give meaningful test results.

Export Script
You must create an export script (.sql) to create a backup of your database, including all database structures, table definitions and data.

Proof of Testing
The results of your report queries should be added to your Assignment 2 report (see B1). This can be a screen dump of each query result inserted into your report, but MUST be readable. You should paste each query into your report, then the results of that query.

SQL Queries:

Workshop enrolment list
Create a query to display the workshop enrolment lists for all students enrolled in Session 1, 2015. The result should include the session, unit code, unit name, campus location, workshop day & time, tutor name, student number and student name. The result should be sorted by the unit code, campus location, workshop day and time then student last name and first name.

Workshop count list
Create a query to display the number of students who were enrolled in workshops in all sessions for 2014. The result should include the session, unit code, unit name, campus location, tutor name and the total count of students enrolled. The result should be sorted by the Session, unit code, campus location and workshop day & time.

Student Transcripts
Create a query to display the information required for a Student Transcript. The result should include the student number, student name, year, session, unit

code, unit name and final grade. The result should be sorted by the student's last name, first name, by year, session and then by unit code.

Student Assessment

Create a query to display the total marks for each student's assessments in all sessions for 2014. The result should include the student names, unit code, the sum of marks given for their assessments and the final grade given. It should be sorted by the student's last name and first name, session, and unit code. Note: the final grade is entered by the unit assessor into the database, not calculated automatically from the total.

205_ERD.jpg

Reference no: EM131323844

Questions Cloud

What is the price elasticity : What is the price elasticity if 200 million people are insured? What is the price elasticity if 220 million people are insured?
Write an interpersonal communication research report : Write the given paper assignment.- Write an interpersonal communication research report, which contains self-analysis.
Evaluate concepts of the melting pot and the american mosaic : Evaluate the concepts of the melting pot and the American mosaic. Which concept more accurately reflects the experiences of the ethnic group you chose? Support your assertion.
What is utility function : Miguel considers tickets to the Houston Grand Opera and to Houston Astros baseball games to be perfect substitutes. Show his preference map. What is his utility function?
Create and test a database in mysql : CSC00228 - Database Systems - create and test a database in MySQL using PhpMyAdmin. You are provided with a scenario and supporting documents, describing the requirements that Southern Cross University may have for a database to handle their stude..
What is the percent yield of nitrogen in the reaction : One method to produce nitrogen in the lab is to react ammonia with copper (II) oxide: NH3(g) + CuO(s) Cu(s) + H2O(l) + N2(g). After using 40.0 grams of NH3, 15.5 grams of N2are produced. What is the percent yield of nitrogen in the reaction?
Analyze two developments of industrialization : Describe 2 developments of industrialization that negatively affected American lives or the United States in general. At least 2 academically acceptable sources are required.
Determine the temperature registered by the thermocouple : If the exhaust gases are at 1200K and the exhaust pipe walls are at 600K determine the temperature registered by the thermocouple for (a) no shield, (ii) one (inner) shield and (iii) two (inner and outer) shields
Draw his budget constraint and write the equation : If he has no other source of income, draw his budget constraint and write the equation. What is the most he can spend, Y, on these goods?

Reviews

len1323844

12/22/2016 7:53:01 AM

Just curious if you guys can help with my assignment??? You will have to login to my phpmyadmin account to complete this assignment. So i am not sure if you can do so or not? Or if it is safe to do so or not? Just let me know if you can do this and i will send you login details. Assignment is attached. Thanks !!

Write a Review

Database Management System Questions & Answers

  Find all governors general of australia

Find all Governors General of Australia who were Barons at the time and Restrict your query to Governors General who were Barons at the time of their appointment

  Advantage of nosql databases

In this forum, describe your current organization or school (industry, size, processes, etc...) and discuss whether/how it could take advantage of NOSQL databases.

  Retrieve the data from a database using subqueries and joins

Write SQL statements that will retrieve the following data from a database, using Subqueries and Joins. Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions

  Write the select statement to show all records

Write the SELECT statement to show all records

  Draw relational schema and show functional dependencies

Draw relational schema and show functional dependencies Comprehensive schema that shows existing PK and all functional, partial and transitive dependencies Detailed schema that shows existing PK and most functional, partial and transitive dependen..

  Create the tables create the primary keys add dml statements

Create the tables Create the primary keys Create the foreign keys Add DML statements to: Add data of 1 customer who buys from the company Provide the DML to add 1 employee who interacts with customers Give DML to change data of the employee

  Create an e-r diagram

You have probably seen that already when you tried to create an E-R diagram. Visio uses notation and graphical shapes that are not the same as those in your text. If you look at some of the links to schemas, you will see a similar sort of thing.

  The traditional retail model has focused on finding

assignment 3 how is technology changing the face of business today?the traditional retail model has focused on finding

  Identify each relationship type and write all of the busines

Identify each relationship type and write all of the business rules and create the bask Crow's Foot ERD for DealCo.

  Compute canonical cover for set of functional dependencies

Compute a canonical cover for the above set of functional dependencies (show each step of your derivation with an explanation).

  List course along with names of students from database table

List the courses (D-code and C-no), along with the names of the students who are currently taking them. List all the courses (D-code and C-no) that John (i.e., S-Name=''John'') got 'A' grade.

  Rea properties

This assignment aims to improve your design and programming skills in database systems. In particular, it requires you to exercise programming skills in SQL and PL/SQL under Oracle PL/SQL Developer or SQL*Plus tool.

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