LogiQuest

SQL

Write queries: filtering, joins, grouping, subqueries and window functions.

52 problems

StatusTitleDifficulty
1. High EarnersSQLEasy
2. Employees per DepartmentSQLEasy
3. Second Highest SalarySQLMedium
4. Employee with DepartmentSQLEasy
5. Customers Who Never OrderedSQLEasy
6. Total Spent per CustomerSQLMedium
7. Duplicate EmailsSQLEasy
8. Above Department AverageSQLMedium
9. Top Earner per DepartmentSQLHard
10. Running Total of OrdersSQLHard
11. Managers with Two or More ReportsSQLMedium
12. Departments with No EmployeesSQLEasy
13. All StudentsSQLEasy
14. Students from ChennaiSQLEasy
15. Missing CitySQLEasy
16. Students per ClassSQLEasy
17. Average Score per SubjectSQLEasy
18. Total Marks per StudentSQLMedium
19. Topper in Each SubjectSQLHard
20. Students Without MarksSQLEasy
21. Assign GradesSQLMedium
22. Passed Every Subject TakenSQLMedium
23. Rank Students in ClassSQLHard
24. Youngest StudentSQLEasy
25. Born in 2010SQLEasy
26. Names Starting with a VowelSQLEasy
27. Above the School AverageSQLMedium
28. Books by an AuthorSQLEasy
29. Books per GenreSQLEasy
30. Currently Borrowed BooksSQLEasy
31. Most Borrowed BookSQLMedium
32. Books Never BorrowedSQLEasy
33. Loan DurationsSQLMedium
34. Loans per MemberSQLMedium
35. Authors with Several BooksSQLEasy
36. Classic BooksSQLEasy
37. Available CopiesSQLHard
38. Members Who Joined in 2024SQLEasy
39. First Loan of Each MemberSQLHard
40. Salary BandsSQLMedium
41. Department PayrollSQLEasy
42. Recent HiresSQLEasy
43. Employee and ManagerSQLMedium
44. Third Highest SalarySQLMedium
45. Share of Department PayrollSQLHard
46. Email DomainsSQLMedium
47. Monthly RevenueSQLMedium
48. Orders by CitySQLEasy
49. Customer with the Largest OrderSQLEasy
50. Repeat CustomersSQLEasy
51. Order vs Previous OrderSQLHard
52. Revenue Share by CustomerSQLMedium

52 of 52 problems