Biz2Credit interview question

Question related to database, simple programs, programming concepts.