Database: vehicle_rent
Question: What are the names of vehicles, sorted descending by total hours of renting?
SQL:
SELECT T2.name FROM renting_history AS T1 JOIN vehicles AS T2 ON T1.vehicles_id  =  T2.id GROUP BY T2.id ORDER BY sum(T1.total_hours) DESC