DISH Interview Question

Write the SQL queries for questions