Infosys interview question

Intro, SQL querie, 2 coding questions, Java basics