Sriven Systems interview question

Dbms queries.. Java oops concept