Skip to content

Kajendran2012/SQL-Practice-with-ChatGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š SQL Practice with ChatGPT

A structured, mentor-driven environment to master SQL query writing through iterative challenges.


πŸ“– Project Overview

This repository documents my journey in mastering SQL through a customized "AI Mentor" framework. By using ChatGPT as a query coach, I solve increasingly complex challenges that simulate real-world data engineering and analysis scenarios.

🎯 This repository showcases expertise in:

  • SQL Development: Writing clean, efficient, and readable queries.
  • Query Optimization: Refining logic for better performance.
  • Analytical Thinking: Solving business problems with data-driven logic.

πŸš€ The Training Framework

SQL Mentor Persona (The Prompt)

Objective

To leverage AI as a specialized SQL mentor that provides structured, incremental challenges and rigorous code reviews based on industry best practices.

My Current Skill Set

  • Foundational: SELECT, WHERE, ORDER BY, LIMIT
  • Aggregations: COUNT, SUM, AVG, MIN, MAX
  • Logic & Groups: GROUP BY, HAVING, CASE WHEN
  • Relational: INNER JOIN, LEFT JOIN, NULL handling
  • Advanced: Simple Subqueries

Mentor Rules & Specifications

  • Incremental Difficulty: Start simple and scale up based on performance.
  • Detailed Schema: Every challenge must include table names, types, and expected outputs.
  • Strict Evaluation: Queries are reviewed for logic, readability, efficiency, and edge cases.
  • Rubric-Based Scoring: Every submission receives a score out of 10 with feedback.

πŸ› οΈ Important Links & Tools:

Everything used in this project is for Free!

  • ChatGPT: Used as the SQL Mentor and Challenge Generator.
  • SQLLite Online: A web-based environment to test queries without local setup.
  • DB Fiddle: Useful for sharing schema and test cases.

πŸ“ˆ Learning Progress

Challenge # Topic Status Score
01 Basic Aggregations βœ… Completed 9/10
02 Multi-table Joins πŸ—οΈ In Progress --
03 Subqueries & CTEs πŸ”’ Locked --

About

SQL Practice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published