Write a SQL query to rank shows by daily viewership across different regions
SQLmedium
182
Write a query to calculate the total revenue generated by each product category.
SQLmedium
183
Write a query to find employees in the same department as 'John'.
SQLmedium
184
Write a query to find the 5th highest salary in an employee table and calculate the number of employees whose salary is greater than that of their manager.
SQLmedium
185
Write a query to find the top 5 most-sold Adidas products in the last month.
SQLmedium
186
Write a query to get the names of all employees who are managers with five or more direct reports.
SQLmedium
187
Write a query to identify duplicate customer entries based on email and phone number.
SQLmedium
188
Write a self join query to get the manager's name for each employee.
SQLmedium
+20 More Questions with Expert Answers
Unlock all 1,800+ expert answers, AI mock interviews, resume analyzer, SQL playground, and personalized progress tracking.