NucleusTeq interview question

oops , dbms , java , 2 Dsa ques , SQL quires