Sun Life interview question

Questions on DBMS and Puzzles