M1 Interview Question

Implement a simple database schema.