Anonymous interview question

Basics Design patterns Domain Sql