SQL Revision: MySQL Practice & Hands-on Implementation

Day 58–61 of #100DaysOfCode | SQL Quick Revision Over the past few days, I focused on revising core SQL concepts and strengthening my understanding through hands-on practice. I worked on table creation, data insertion, functions, aggregation, and joins using MySQL. What I worked on: Designed and created the Classes & Students tables Established relationships using FOREIGN KEY Inserted structured sample data Practised SQL functions and string operations Implemented GROUP BY and aggregate functions Worked with JOIN queries for multi-table operations Key Concepts Revised: SQL functions: UPPER(), LENGTH(), SUBSTRING() Aggregate functions: COUNT(), AVG(), SUM(), MAX(), MIN() Data grouping using GROUP BY Table relationships using Primary Key & Foreign Key Combining data using INNER JOIN Writing clean and structured SQL queries Practice Highlights: Retrieved class names in uppercase and substring formats Calculated the total number of students and the average marks per class Found the highest and lowest marks Computed total marks per class Used JOINs to combine student and class data Displayed insights like: Student names with class names Class-wise student count Average marks per class Hands-on Implementation: Worked on a structured SQL script that includes: Table creation (classes, students) Data insertion Query-based problem solving (Basic → Aggregation → Joins) This helped me understand how real-world relational databases are designed and queried. GitHub Repository: https://lnkd.in/gGF7zmAz #100DaysOfCode #SQL #MySQL #DatabaseDesign #Joins #Subqueries #BackendDevelopment #CodingJourney #LearnSQL

To view or add a comment, sign in

Explore content categories