Assuming your table is named T and the dates are stored in a datetime column named date_col, you can use the hour function to extract the hour component of each date, and select only the rows where the hour is equal to 11. Here's an example code snippet to achieve this:
main.m398 chars7 lines
The resulting table T_hour11 will contain only the rows where the hour component of date_col is equal to 11.
gistlibby LogSnag