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