Fortech SRL interview question

oop, java, sql, queries, logic