Reputation: 7
I have a table where I want to group by the records on the basis of seconds ? Please suggest what I can do ?
Upvotes: 0
Views: 523
Reputation: 456
check out AskTOM.
CAST(<my_ts> AS TIMESTAMP(0))
should work (as @user3863616 suggested)
Upvotes: 1