As reported: SAP Labs SDE / BTP role (India, 2026), technical round 2: after more project discussion, design the database tables for an Amazon-like e-commerce platform — users, products, categories, orders, order items, payments, addresses, cart and reviews — with keys, relationships and normalization. A puzzle and an AI discussion followed.
Design the relational schema. For each table give the columns, the primary key, foreign keys and important constraints, explain the relationships (1:1, 1:N, M:N), and explain how the design is normalized. Agree on scope first (e.g. single seller vs marketplace, product variants, multiple payments per order).