Tata interview question

oop principles basic SQL query common bq