From server_logs, return log_id, response_time_ms, and CAST(response_time_ms AS DOUBLE) AS ms_double
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
Problem
From server_logs, return log_id, response_time_ms, and CAST(response_time_ms AS DOUBLE) AS ms_double. Only include rows where response_time_ms IS NOT NULL. Order by log_id.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.