SQLbeginnerbackendAI generated

Movie Watchlist and Ratings Tracker

Design a schema tracking movies, genres, and personal ratings/watch dates, then write queries to analyze viewing habits such as favorite genres and average ratings per year. Learners practice many-to-many genre relationships, date functions, and aggregate reporting.

Estimate
~7h
Steps
5
Completed by
0
Proposed by
codeseed.app

PostgreSQL · pgAdmin

Project roadmap

  1. 01

    Design the schema

    ~1.5h

    Create movies, genres, a movie_genres junction table, and a watch_log table with ratings and dates.

  2. 02

    Insert sample data

    ~1h

    Add movies across multiple genres along with a personal watch and rating history.

  3. 03

    Compute average rating by genre

    ~1.5h

    Write a join and GROUP BY query computing average rating per genre.

  4. 04

    Report movies watched per month

    ~1.5h

    Use date functions to group watch history by month.

  5. 05

    Suggest recommendations

    ~1.5h

    Write a query surfacing highly-rated genres with few watched movies as recommendation candidates.

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~7h · 5 steps

Tech stack

PostgreSQLpgAdmin