Low-Level DesignReported in a candidate post, Sep 2020
Instagram Database Design and SQL Queries
Filed under Airtel Payments Bank
The question
Discuss the database relationship differences between creating a post and commenting on a post for a social network, write a SQL query to retrieve all followers of a user, and find the second highest salary.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.