Resources:
SQL Schema for SQL Fiddle
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:
- Find number of users on product hunt
- Find top 10 products by number of upvotes
- Find the number of products in each category
- Find number of products posted everyday in since 1st November
Submit your assignment (queries) here => Google Form
One thought on “SQL for Product Managers – Phase – 2: Session 1”
Comments are closed.