Tracks/Joins
Joins
Combine rows across tables, including self-joins.
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL OUTER JOIN
CROSS JOIN
self join
0/49 solved
- 1—005. Employees With Departmentseasy
- 2—016. Employees With No Departmenteasy
- 3—021. Coalesce Missing Department Nameeasy
- 4—143. Use Table Aliases in a JOINeasy
- 5—145. Join Orders with Customer Detailseasy
- 6—146. Find Customers Who Have Never Orderedeasy
- 7—303. Find Employees in a Named Departmenteasy
- 8—325. All Departments Including Those with No Employeeseasy
- 9—326. Generate All Month–Category Combinationseasy
- 10—037. Products Never Orderedmedium
- 11—039. Manager Names via Self Joinmedium
- 12—040. Order Line Detailsmedium
- 13—048. All Employees and Departments (Full Outer Join)medium
- 14—049. All Size-Color Combinations (Cross Join)medium
- 15—060. Employees Sharing the Same Salarymedium
- 16—062. Products with Above-Average Ratingmedium
- 17—070. Products with Zero Total Salesmedium
- 18—072. Customer Lifetime Valuemedium
- 19—085. Employees Who Share the Same Managermedium
- 20—086. All Departments Including Empty Onesmedium
- 21—178. Traverse Org Chart Hierarchy with Recursive CTEmedium
- 22—190. Fill Date Gaps Using GENERATE_SERIESmedium
- 23—199. Show Each Employee with Their Manager's Namemedium
- 24—200. Order Details with Customer and Product Namesmedium
- 25—201. Four-Table JOIN with Category Filtermedium
- 26—202. Find Customers Who Have Never Placed an Ordermedium
- 27—203. All Product Color and Size Combinations Using CROSS JOINmedium
- 28—209. Month-2 Retention Rate Calculationmedium
- 29—252. Product Co-Purchase Analysismedium
- 30—262. Comparing Two Datasets with FULL OUTER JOINmedium
- 31—264. Rolling 30-Day Distinct Customer Countmedium
- 32—270. Detect Overlapping Date Rangesmedium
- 33—277. Employees Promoted in the Last 6 Monthsmedium
- 34—337. Order Items With No Discount Appliedmedium
- 35—348. Employee vs Manager Salary Gapmedium
- 36—355. Employees Sharing at Least One Projectmedium
- 37—368. Product Co-Purchase Affinity Scoremedium
- 38—369. Manager Span of Control (Direct Reports Count)medium
- 39—378. Product Revenue Contribution via CTEmedium
- 40—091. Managers Paid Above Team Averagehard
- 41—098. Frequently Bought Together (Market Basket)hard
- 42—281. Recursive Bill of Materials Explosionhard
- 43—282. Full Org Chart Path as Stringhard
- 44—288. Time-Series Gap Filling with Zero Revenue Dayshard
- 45—293. Fraud Detection: 3+ Transactions Within 1 Hourhard
- 46—296. Nearest Price Match Across Two Catalogshard
- 47—383. Required Skills Missing per Employeehard
- 48—397. Nearest Neighbor by Euclidean Distancehard
- 49—400. Monthly Revenue and New-Customer Dashboardhard