Data-Core Systems interview question

OOPs, Programmings & Databases with SQL query