convert time into range in sql : I have a datetime field which displays as eg: 2019-05-13 13:01:39.
I want this to come as 1-2pm or 13-14pmin sql.
Like wise,2019-05-03 19:31:31 should be displayed as 7-8 or 19-20.

Is this possible in SQL using query?