United Airlines Interview Question

Advanced-level SQL query using Windows and CTE functions