A beginner-friendly SQL portfolio project that analyzes student performance data using MySQL. This project demonstrates essential SQL concepts through data cleaning, querying, aggregation, filtering, CRUD operations, and generating meaningful insights from a real-world dataset.
This project explores a dataset containing student academic performance and demographic information. Using SQL, the data is cleaned, analyzed, and summarized to answer business-related questions and uncover trends in student performance.
This project was built to strengthen SQL fundamentals and showcase practical data analysis skills for a Data Analyst portfolio.
- Source: Student Performance Dataset (CSV) from KAGGLE
- Total Records: 1,000
- Database: MySQL
- Gender
- Race/Ethnicity
- Parental Level of Education
- Lunch
- Test Preparation Course
- Math Score
- Reading Score
- Writing Score
- MySQL Community Server
- MySQL Workbench
- Git
- GitHub
- CREATE DATABASE
- CREATE TABLE
- ALTER TABLE
- INSERT
- UPDATE
- DELETE
- SELECT
- WHERE
- BETWEEN
- IN
- LIKE
- AND
- OR
- NOT
- DISTINCT
- GROUP BY
- ORDER BY
- HAVING
- COUNT()
- AVG()
- MAX()
- MIN()
The dataset was cleaned before analysis by:
- Renaming the table
- Renaming columns for readability
- Standardizing parental education values
- Standardizing meal type values
- Improving consistency in categorical data
- How many male and female students are there?
- What are the average scores by gender?
- How many students completed the test preparation course?
- What is the distribution of meal types?
- What is the distribution of parental education levels?
- Which race/ethnicity group has the most students?
- Which students achieved full marks?
- Which students scored below passing marks?
- What are the highest and lowest scores in each subject?
- Total Students: 1,000
- Female Students: 518
- Male Students: 482
- Most students did not complete the test preparation course.
- Male students achieved a higher average Math score.
- Female students performed better in Reading and Writing.
- Group C had the highest number of students.
- High School Graduate was the most common parental education level.
- Most students received the Standard meal.
student-performance-sql-analysis/
│
├── Dataset/
│ └── StudentsPerformance.csv
│
├── SQL/
│ └── Student_Performance_Project.sql
│
├── Screenshots/
│ ├── 01_import.png
│ ├── 02_table_data.png
│ ├── 03_average_scores.png
│ ├── 04_groupby.png
│ ├── 05_data_cleaning.png
│ └── 06_summary.png
│
├── README.md
├── LICENSE
└── .gitignore
- Open MySQL Workbench.
- Create a new database.
- Import the
StudentsPerformance.csvdataset. - Open
Student_Performance_Project.sql. - Execute the SQL queries.
- Review the outputs and insights.
Eshrath Jahan
Aspiring Data Analyst passionate about SQL, Python, Power BI, data visualization, and machine learning.
⭐ If you found this project helpful, feel free to star the repository!