Learn Modern AI Product Management — Cohort 52 starts July 19th Apply now Filling fast

SQL for Product Managers – Phase – 2: Session 1

Resources: Presentation SQL Schema for SQL Fiddle SQL for Product Managers Assignment Below is the database schema for product hunt: […]

Ankit Shukla
Written by
Published
Last updated

Resources:

Presentation

SQL Schema for SQL Fiddle

SQL for Product Managers

Assignment

Below is the database schema for product hunt:

Users:

  • ID
  • Name
  • Registration_date (date)

Products:

  • ID
  • Title
  • Category
  • Posted_on (date)

Upvotes:

  • ID
  • Product_ID
  • Posted_on (date)
  • User_ID

Write queries to:

  1. Find number of users on product hunt
  2. Find top 10 products by number of upvotes
  3. Find the number of products in each category
  4. Find number of products posted everyday in since 1st November

Submit your assignment (queries) here => Google Form

Share
Ankit Shukla
Written by

Ankit Shukla is the Founder & CEO of HelloPM, where he helps professionals learn Product Management, AI Product Management, and practical AI adoption. He has trained and mentored 2,000+ learners across 40+ cohorts, with HelloPM alumni working at companies such as Google, Microsoft, Amazon, Adobe, Walmart, CRED, Visa, PayPal, and McKinsey. Ankit writes about AI, product thinking, business strategy, and modern product workflows for professionals who want to build better products with AI.

More articles

One thought on “SQL for Product Managers – Phase – 2: Session 1

Comments are closed.

Chat with us on WhatsApp