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.
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
- 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
A2_2023s2_DogTraining_ENG– All queries to create the databaseA2_2023s2_DogTraining_LOCAL– All SQL queries in clean, executable formatSQL.docx– Result with screenshotREADME.md– Project documentation
- Run the provided database creation script.
- Open
A2_2023s2_DogTraining_LOCALin MySQL Workbench. - Execute queries to reproduce results.
👤 Author: Advait Patwardhan