Hertz interview question

Write a SQL query.