Appian Interview Question

How would you design a database with given constraints?