Sapiens interview question

SQL, Design ERD, Logical questions