## Project: E-commerce Database
Design a PostgreSQL schema for an online store. Your schema should support customers, products, orders, and order items, and demonstrate sensible relationships, constraints, and indexing.
Use the sections below to document your design. Include `CREATE TABLE` statements (or clear descriptions), explain your primary and foreign keys, and describe at least three queries the database would support.
## Project: E-commerce Database
Design a PostgreSQL schema for an online store. Your schema should support customers, products, orders, and order items, and demonstrate sensible relationships, constraints, and indexing.
Use the sections below to document your design. Include `CREATE TABLE` statements (or clear descriptions), explain your primary and foreign keys, and describe at least three queries the database would support.