Tech Mahindra interview question

SQL related questions