gpt-4-0314· OpenAI
WildChat-4.8M (AI2)
hi
- User
hi
- Assistant
Hello! How can I help you today?
- User
Show me the blueprint of all sql questions asked at Uber?
- Assistant
As an AI language model, I don't have direct access to proprietary information, such as specific SQL questions asked during interviews at Uber. However, I can give you some example SQL questions to help you prepare or practice for such interviews.
- Given a table 'trips' with columns (trip_id, driver_id, start_time, end_time, miles_driven), write an SQL query to find the total miles driven by each driver.
codeSELECT driver_id, SUM(miles_driven) AS total_miles FROM trips GROUP BY driver_id;- Considering the same 'trips' table, write an SQL query to find the drivers with the top 10 highest average miles driven per trip.
codeSELECT driver_id, AVG(miles_driven) AS average_miles FROM trips GROUP BY driver_id ORDER BY average_miles DESC LIMIT 10;
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.