InterviewDB Experience

Design Database: Schema Design and Query Optimization for an E-commerce Platform

Interview Experience

Round 1 - SQL / Schema Design Problem Design a normalized relational schema for an e-commerce platform that supports products, customers, orders, and order items. Then write queries to answer business questions. Example Queries Follow-ups A customer can have multiple shipping addresses per order — how do you extend the schema? Which columns would you index and why? How would you query the top 3 best-selling products per product category? How do you handle unit_price to preserve historical price…

Full Details

🔒

Unlock all Glean questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a glean interview during the phone round.

It covers the following topics: Coding, Onsite, Phone, Sql .