DXC Technology interview question

SQL queries