Relativity interview question

OOP design and principles, sql tables and queries