I have timestamp in my table and i want to extract only hour from it. I search and find a extract function but unable to use as a query. Do i need to convert first timestamp
The following should work
select extract(hour from observationtime) from smartvakt_device_report