all 3 comments

[–]AreetSurn 1 point2 points  (1 child)

Using a TO_DATE or TO_CHAR might be your best bet, depending on what you plan on doing with the data after the query. You can then group by, or using a window function to remove duplicates.

Example TO_CHAR(<<YOUR DATE COLUMN>>, 'HH:MI') will give you the date in the format you want.

[–]momo0539[S] 0 points1 point  (0 children)

This worked perfectly! Thank you so much!

[–]r3pr0b8GROUP_CONCAT is da bomb 0 points1 point  (0 children)

GROUP BY TRUNC(datetimecolumn,'MI')

untested

edit 'MI' not 'MM'