# Database Design & Schema

> Design a database schema for a social media platform. When would you choose SQL vs NoSQL?

Canonical: https://www.internhack.in/learn/interview/system-design-interview/sd-database-design
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

Design a database schema for a social media platform. When would you choose SQL vs NoSQL?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

SQL vs NoSQL, Normalization, Denormalization, Indexing, Schema Design

Previous: [Horizontal vs Vertical Scaling](https://www.internhack.in/learn/interview/system-design-interview/sd-scaling) · Next: [API Design & Best Practices](https://www.internhack.in/learn/interview/system-design-interview/sd-api-design) · [All of System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)

## More System Design Basics questions

- [Design a URL Shortener](https://www.internhack.in/learn/interview/system-design-interview/sd-url-shortener)
- [Design a Chat Application](https://www.internhack.in/learn/interview/system-design-interview/sd-chat-app)
- [Design a Rate Limiter](https://www.internhack.in/learn/interview/system-design-interview/sd-rate-limiter)
- [Design a Notification System](https://www.internhack.in/learn/interview/system-design-interview/sd-notification)
- [Design an Authentication System](https://www.internhack.in/learn/interview/system-design-interview/sd-auth-system)
- [Caching Strategies Deep Dive](https://www.internhack.in/learn/interview/system-design-interview/sd-caching)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [System Design Basics](https://www.internhack.in/learn/interview/system-design-interview)
