Skip to main content

Determine the Database Schema for a Pizza Ordering System

Premium

A leading fast-moving consumer goods (FMCG) company is planning to expand into the pizza business by opening a nationwide chain of pizza parlors.

You are the database architect for the project and have been asked to design a database schema for the pizza ordering system.

Start by clarifying the possible entities in the schema or a pizza ordering system. Anchor to your own experience if stuck (maybe order a pizza while brainstorming!)

Interviewers are looking for clear, logical thinking, user-centricity in design, and the ability to anticipate needed changes. Is your design adaptable to changing business requirements?

Database schemas including payments can become incredibly complex. Did you remember to clarify what's out-of-scope for this question? For example - do we need to store multiple payment methods / preferences?