IFM srl interview question

1. SQL Quries 2. Coding problem