SQL: Рассчитайте часы с двух дат

DATEDIFF(second, start_date, end_date) / 3600.0
Inexpensive Iguana