Virtusa Interview Question

basic OOP's and SQL question.