10bis interview question

two SQL question on cocodility platfrom