Domanda di colloquio di PayCraft Solutions

Sql queries, coding problem, some time puzzle asked