Código SQL [-]select extract(hour from fecha) as hora from tabla
select extract(hour from fecha) as hora from tabla