Skip to content

advait0511/sql-database-dog-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dog Behaviour Specialists โ€“ SQL Queries ๐Ÿพ

This repository contains a collection of SQL queries written as part of my INFO90002 assignment at the University of Melbourne.
The queries demonstrate skills in joins, subqueries, grouping, aggregation, filtering, and view creation.

๐Ÿ“Œ Project Overview

The database models a mediumโ€‘sized business providing dog training services across multiple venues.
The queries answer realโ€‘world business questions such as:

  • Events by suburb
  • Services never requested at a venue
  • Event popularity by attendance
  • Trainer workload analysis
  • Venue revenue reports
  • Owner and dog participation in lessons/events
  • Multiโ€‘year event tracking
  • Creating and querying SQL views

๐Ÿ›  Skills Demonstrated

  • SQL joins (INNER, LEFT OUTER)
  • Subqueries with NOT IN
  • Aggregations with COUNT, SUM, HAVING
  • Date filtering with YEAR() and ranges
  • Creating and querying views
  • Writing wellโ€‘structured SQL

๐Ÿ“‚ Repository Contents

  • A2_2023s2_DogTraining_ENG โ€“ All queries to create the database
  • A2_2023s2_DogTraining_LOCAL โ€“ All SQL queries in clean, executable format
  • SQL.docx โ€“ Result with screenshot
  • README.md โ€“ Project documentation

๐Ÿš€ How to Run

  1. Run the provided database creation script.
  2. Open A2_2023s2_DogTraining_LOCAL in MySQL Workbench.
  3. Execute queries to reproduce results.

๐Ÿ‘ค Author: Advait Patwardhan

About

SQL project showcasing advanced query writing, joins, subqueries, aggregations, and view creation using a dog training business case study (Dog Behaviour Specialists).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors