Create and test a database in MySQL

Assignment Help PL-SQL Programming
Reference no: EM133641616

Task Description

A.1. Overview

Your task is to create and test a database in MySQL using PhpMyAdm in. 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 enrolments. You are provided with most of 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 reporting.

2 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 online education. Student enrolments and their progress in units need to be stored in a database.

A systems analyst has partially designed this database (see Entity Relationship Diagram provided). You have been brought into 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 assessment. The client had 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 (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 CSC72001), staff and workshops, you must allow for the following:

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 CSC72001), staff and workshops, you must allow for the following:

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

Assessment Requirements

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 1 report. Some suggested headings for this report are included in the report template {available in this assignment folder):
• Client Business Rules
• Assumptions Made
• Naming Conventions
• Data types chosen

B.2 MOCK database
Create a MySiaL database using phpMyAdmin. You must name this database as your usemame followed by AZ. For example: eyuwonl0A2.
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.
B. Assessment Requirements

Assignment

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 1 report. Some suggested headings for this report are included in the report template (available in this assignment folder);
• 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 usemame followed by A2. For example: eyuwon10A2,
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.

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. VDU may refer to the provided sample data for references on the data format. However, you need to analyse and transform the sample data to be suitable for your database, e.g. you will be required to use your assumption on some fields that are not available in the sample data.

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

B.5 Proof of Testing
The results of your report queries Should be added to your Assignment 2 report (see 131), 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.

B.6 SQL Queries:
B.6.1 Workshop enrolment list
Create a query to display the workshop enrolment lists for all students enrolled in Session 3, 2019, 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.

B,6.2 Workshop count list
Create a query to display the number of students who were enrolled in workshops in all sessions for 2019. 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.

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

B.6.4 Student Assessment Totals
Create a query to display the total marks for each student's assessments in all sessions for 2019. 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.

Reference no: EM133641616

Questions Cloud

Organizational change needed to improve the culture : your team to assess the current culture in the Friendship police department and make recommendations on the organizational change needed to improve the culture
Provide a business application of the forecasts : Develop different demand forecast models for these stores and compare the forecast models in terms of accuracy, trend, and seasonality alignment
Interviewing at your dream company for your dream job : You are interviewing at your dream company for your dream job but the pay scale hasn't been discussed yet.
Identity and allows people to show their stuff as team : Identity and allows people to show their stuff as a team The information on a website can easily become outdated
Create and test a database in MySQL : Create and test a database in MySQL using PhpMyAdm in. You are provided with a scenario and supporting documents, describing the requirements
About emotional intelligence : You learned about Emotional Intelligence (EQ). Building upon the information you gained in last week's resources,
E-commerce site with mobile messaging feature : Sadie has integrated her e-commerce site with a mobile messaging feature. She is still learning about the benefits of her decision.
Define the concept of strategic information system : Define the concept of a strategic information system and provide an example. What is the use of this system in the organization?
About organizational planning : This chapter talks about organizational planning. Explain how three aspects of organizational planning

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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