Infosys interview question

Dbms joins, java basics