CSC72001 Database Systems Assessment 2 Report - Student Enrolment
VerifiedAdded on 2022/08/31
|8
|737
|23
Report
AI Summary
This report presents a comprehensive solution for Southern Cross University's CSC72001 Assessment 2, focusing on the design and implementation of a student enrolment database. The assignment involved creating and testing a database in MySQL using PhpMyAdmin, based on a provided scenario and Entity Relationship Diagram (ERD). The report includes an analysis of client business rules, assumptions made, naming conventions, and data types chosen. Furthermore, it showcases the testing of various SQL queries, such as workshop enrolment lists, workshop count lists, student transcripts, and student assessment totals, along with their respective results. The report demonstrates a practical application of database concepts and SQL proficiency, addressing the university's requirements for storing and managing student enrolment data. It also includes the ERD and SQL scripts.

SOUTHERN CROSS UNIVERSITY
ASSIGNMENT COVER SHEET
For use with online submission of assignments
Please complete all of the following details and then make this sheet the first page of each file
of your assignment – do not send it as a separate document.
Your assignments must be submitted as either Word documents, text documents with .rtf
extension or as .pdf documents. If you wish to submit in any other file format please discuss
this with your lecturer well before the assignment submission date.
Student Name:
Student ID No.:
Unit Name: Database Systems
Unit Code: CSC72001
Tutor’s name:
Assignment No.: Assessment 2
Assignment Title:
Due date:
Date submitted:
Declaration:
I have read and understand the Rules Relating to Awards (Rule 3 Section 18 –
Academic Misconduct Including Plagiarism) as contained in the SCU Policy
Library. I understand the penalties that apply for plagiarism and agree to be bound
by these rules. The work I am submitting electronically is entirely my own work.
Signed:
(please type
your name)
Date:
<Student name and ID> CSC72001 Assessment 2 Report Page 1
ASSIGNMENT COVER SHEET
For use with online submission of assignments
Please complete all of the following details and then make this sheet the first page of each file
of your assignment – do not send it as a separate document.
Your assignments must be submitted as either Word documents, text documents with .rtf
extension or as .pdf documents. If you wish to submit in any other file format please discuss
this with your lecturer well before the assignment submission date.
Student Name:
Student ID No.:
Unit Name: Database Systems
Unit Code: CSC72001
Tutor’s name:
Assignment No.: Assessment 2
Assignment Title:
Due date:
Date submitted:
Declaration:
I have read and understand the Rules Relating to Awards (Rule 3 Section 18 –
Academic Misconduct Including Plagiarism) as contained in the SCU Policy
Library. I understand the penalties that apply for plagiarism and agree to be bound
by these rules. The work I am submitting electronically is entirely my own work.
Signed:
(please type
your name)
Date:
<Student name and ID> CSC72001 Assessment 2 Report Page 1
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

ASSESSMENT TWO
REPORT
BY <Insert your name>
<Student name and ID> CSC72001 Assessment 2 Report Page 2
REPORT
BY <Insert your name>
<Student name and ID> CSC72001 Assessment 2 Report Page 2

Table of contents:
Contents
Table of contents:........................................................................................................................................3
Entity Relationship Diagram........................................................................................................................4
Part A: Analysis............................................................................................................................................5
1. Client Business Rules.......................................................................................................................5
2. Assumptions Made..........................................................................................................................5
3. Naming Conventions........................................................................................................................5
4. Data Types Chosen..........................................................................................................................5
Part B: Testing Queries................................................................................................................................6
B.6.1 Workshop Enrolment List........................................................................................................6
B.6.2 Workshop Count List................................................................................................................6
B.6.3 Student Transcripts..................................................................................................................6
B.6.4 Student Assessment Totals......................................................................................................6
<Remove this text before submission of your assessment>
<After you have completed your assessment, right-click on the table of contents above and click
“Update Field” then “Update Page numbers only”. This will build the table of contents for you.>
<Student name and ID> CSC72001 Assessment 2 Report Page 3
Contents
Table of contents:........................................................................................................................................3
Entity Relationship Diagram........................................................................................................................4
Part A: Analysis............................................................................................................................................5
1. Client Business Rules.......................................................................................................................5
2. Assumptions Made..........................................................................................................................5
3. Naming Conventions........................................................................................................................5
4. Data Types Chosen..........................................................................................................................5
Part B: Testing Queries................................................................................................................................6
B.6.1 Workshop Enrolment List........................................................................................................6
B.6.2 Workshop Count List................................................................................................................6
B.6.3 Student Transcripts..................................................................................................................6
B.6.4 Student Assessment Totals......................................................................................................6
<Remove this text before submission of your assessment>
<After you have completed your assessment, right-click on the table of contents above and click
“Update Field” then “Update Page numbers only”. This will build the table of contents for you.>
<Student name and ID> CSC72001 Assessment 2 Report Page 3
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

Entity Relationship Diagram
<Student name and ID> CSC72001 Assessment 2 Report Page 4
<Student name and ID> CSC72001 Assessment 2 Report Page 4
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Part A: Analysis
1. Client Business Rules
The details of the units and the enrolments are to be stored in the system.
The details of the students and the teachers are required to be stored in the system.
The students would be taking part in the assessments conducted by the university and
the details of the assessments are required to be stored in the system.
2. Assumptions Made
Among the assumptions which are made for the implementation of the database, the most
important mention is that of students’ enrolments. It is to be noted that all the students are
not necessary enrolled in a course and all the teachers does not necessarily teach a course.
3. Naming Conventions
- The camel case naming conventions has been used in the assignment. In addition to
this, the naming convention has been used for the phrases used in the database.
- The underscore naming convention has been used for the differentiating the names
when there are more than one phrases.
4. Data Types Chosen
The data type used for the database are integers, varchar, and date types.
<Student name and ID> CSC72001 Assessment 2 Report Page 5
1. Client Business Rules
The details of the units and the enrolments are to be stored in the system.
The details of the students and the teachers are required to be stored in the system.
The students would be taking part in the assessments conducted by the university and
the details of the assessments are required to be stored in the system.
2. Assumptions Made
Among the assumptions which are made for the implementation of the database, the most
important mention is that of students’ enrolments. It is to be noted that all the students are
not necessary enrolled in a course and all the teachers does not necessarily teach a course.
3. Naming Conventions
- The camel case naming conventions has been used in the assignment. In addition to
this, the naming convention has been used for the phrases used in the database.
- The underscore naming convention has been used for the differentiating the names
when there are more than one phrases.
4. Data Types Chosen
The data type used for the database are integers, varchar, and date types.
<Student name and ID> CSC72001 Assessment 2 Report Page 5

Part B: Testing Queries
B.6.1 Workshop Enrolment List
Query:
SELECT workshop_enrolment.StudentID, unitoffering.UnitCode, unitoffering.Year, unitoffering.Session,
workshop.Campus, workshop.Location, workshop.Weekday, workshop.ClassTimes, student.StudentID,
student.FirstName, student.LastName, teacher.FirstName, teacher.LastName From
workshop_enrolment INNER JOIN workshop ON workshop_enrolment.WorkshopID =
workshop.WorkshopID INNER JOIN student ON student.StudentID = workshop_enrolment.StudentID
INNER JOIN unitoffering ON unitoffering.UnitOfferingID = workshop.UnitOfferingID INNER JOIN teacher
ON teacher.StaffID = unitoffering.UnitAssesorID WHERE unitoffering.Year = 2019 AND
unitoffering.Session = 'Session 3' ORDER BY workshop.Weekday, workshop.ClassTimes,
student.LastName, student.FirstName
Result:
B.6.2 Workshop Count List
Query:
SELECT student.LastName, student.FirstName, COUNT(workshop_enrolment.WorkshopID)
FROM workshop_enrolment
INNER JOIN student ON student.StudentID = workshop_enrolment.StudentID
INNER JOIN workshop ON workshop.WorkshopID = workshop_enrolment.WorkshopID
INNER JOIN unitoffering ON workshop.UnitOfferingID = unitoffering.UnitOfferingID
Where unitoffering.Year = 2019
GROUP BY student.LastName, student.FirstName;
Result:
<Student name and ID> CSC72001 Assessment 2 Report Page 6
B.6.1 Workshop Enrolment List
Query:
SELECT workshop_enrolment.StudentID, unitoffering.UnitCode, unitoffering.Year, unitoffering.Session,
workshop.Campus, workshop.Location, workshop.Weekday, workshop.ClassTimes, student.StudentID,
student.FirstName, student.LastName, teacher.FirstName, teacher.LastName From
workshop_enrolment INNER JOIN workshop ON workshop_enrolment.WorkshopID =
workshop.WorkshopID INNER JOIN student ON student.StudentID = workshop_enrolment.StudentID
INNER JOIN unitoffering ON unitoffering.UnitOfferingID = workshop.UnitOfferingID INNER JOIN teacher
ON teacher.StaffID = unitoffering.UnitAssesorID WHERE unitoffering.Year = 2019 AND
unitoffering.Session = 'Session 3' ORDER BY workshop.Weekday, workshop.ClassTimes,
student.LastName, student.FirstName
Result:
B.6.2 Workshop Count List
Query:
SELECT student.LastName, student.FirstName, COUNT(workshop_enrolment.WorkshopID)
FROM workshop_enrolment
INNER JOIN student ON student.StudentID = workshop_enrolment.StudentID
INNER JOIN workshop ON workshop.WorkshopID = workshop_enrolment.WorkshopID
INNER JOIN unitoffering ON workshop.UnitOfferingID = unitoffering.UnitOfferingID
Where unitoffering.Year = 2019
GROUP BY student.LastName, student.FirstName;
Result:
<Student name and ID> CSC72001 Assessment 2 Report Page 6
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

B.6.3 Student Transcripts
Query:
SELECT student.StudentID, student.FirstName, student.LastName, unitoffering.Year,
unitoffering.Session, unit.UnitName FROM student INNER JOIN unit_enrollment ON
unit_enrollment.StudentID = student.StudentID INNER JOIN unitoffering ON
unitoffering.UnitOfferingID = unit_enrollment.UnitOfferingID INNER JOIN unit ON
UnitOffering.UnitCode = unit.UnitCode
Result:
B.6.4 Student Assessment Totals
Query:
SELECT student.FirstName, student.LastName, SUM(student_assessment.MarksAwarded)
FROM student INNER JOIN student_assessment ON student.StudentID =
student_assessment.StudentID GROUP BY student.FirstName, student.LastName
Result:
<Student name and ID> CSC72001 Assessment 2 Report Page 7
Query:
SELECT student.StudentID, student.FirstName, student.LastName, unitoffering.Year,
unitoffering.Session, unit.UnitName FROM student INNER JOIN unit_enrollment ON
unit_enrollment.StudentID = student.StudentID INNER JOIN unitoffering ON
unitoffering.UnitOfferingID = unit_enrollment.UnitOfferingID INNER JOIN unit ON
UnitOffering.UnitCode = unit.UnitCode
Result:
B.6.4 Student Assessment Totals
Query:
SELECT student.FirstName, student.LastName, SUM(student_assessment.MarksAwarded)
FROM student INNER JOIN student_assessment ON student.StudentID =
student_assessment.StudentID GROUP BY student.FirstName, student.LastName
Result:
<Student name and ID> CSC72001 Assessment 2 Report Page 7
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

<Student name and ID> CSC72001 Assessment 2 Report Page 8
1 out of 8
Related Documents

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.