Skip to content

nathan-mullings-dev/sql-project-justit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“˜ Data Technician Workbook - SQL | Just IT's Data Skills Bootcamp (PDF)


๐Ÿ—‚๏ธ Overview

This repository contains my completed SQL workbook from Just IT's Data Skills Bootcamp. It demonstrates my understanding of SQL concepts, relational databases, and practical SQL querying techniques using a real-world dataset.

The workbook includes research-based theory, hands-on exercises using the world_db sample dataset, and a final applied project that simulates building a database for a small retail business.


๐Ÿ“Œ Topics Covered

๐Ÿง  Theory-Based SQL & Database Fundamentals

  • Primary Keys vs. Foreign Keys
  • One-to-One, One-to-Many, and Many-to-Many Relationships
  • Relational vs. Non-Relational Databases
  • Use cases for different database types

๐Ÿ”— SQL JOIN Types

  • INNER JOIN
  • LEFT JOIN
  • RIGHT JOIN
  • FULL OUTER JOIN
  • SELF JOIN
  • CROSS JOIN

Each join is explained with definitions, real-world applications, and example SQL syntax.


๐Ÿงช Practical SQL Tasks (Using world_db)

Real-world scenario-based SQL queries using a sample database:

Task Description
โœ… Count cities in the USA Basic COUNT query
๐ŸŒ Country with highest life expectancy Using MAX()
๐Ÿ—บ๏ธ Cities with "New" in the name LIKE clause usage
๐Ÿ”ข Top 10 most populous cities ORDER BY with LIMIT
๐Ÿงฎ Cities with population > 2M WHERE filtering
๐Ÿ“œ Cities starting with "Be" Pattern matching
๐Ÿ“Š Cities with mid-range population BETWEEN clause
๐Ÿ”  Cities sorted by name Alphabetical sorting
๐Ÿ™๏ธ Most and least populated cities MAX() and MIN()
๐Ÿ” City name frequency count GROUP BY and COUNT()
๐ŸŒ Country with highest population Aggregation queries
๐Ÿ‡ช๐Ÿ‡ธ Capital city of Spain Simple WHERE clause
๐Ÿ‡ช๐Ÿ‡บ List of European cities Region filtering
๐Ÿ‘ฅ Average population by country GROUP BY with AVG()
๐Ÿ™๏ธ Capital cities population comparison Advanced joins
๐ŸŒพ Countries with low population density Custom metrics
๐Ÿ’ฐ Cities with high GDP per capita Economic analysis
๐Ÿ“‰ Cities ranked 31โ€“40 by population Pagination with LIMIT & OFFSET

๐Ÿงฑ Final Written Project

Title: Designing and Implementing a SQL Database for a Small Retail Business

A 500-word essay and SQL implementation covering:

  • Identifying business requirements for inventory, sales, and customer tracking
  • Database schema design with appropriate relationships
  • SQL scripts to create tables (CREATE TABLE, FOREIGN KEY)
  • Sample INSERT statements for test data
  • SQL-based security & backup practices (GRANT, mysqldump)

๐Ÿ› ๏ธ Tools & Technologies

  • SQL client tools: MySQL Workbench
  • world_db sample dataset
  • Power Query Editor (for review)

โœ… Learning Outcomes

By completing this workbook, I developed proficiency in:

  • Writing accurate SQL queries for analysis and reporting
  • Understanding relational database design
  • Solving practical business problems using SQL
  • Communicating technical solutions clearly

About

A repository of my SQL project from Just IT's Data Skills Bootcamp course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published