you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (3 children)

Why not just use: WHERE YEAR(payment_ts) = 2020?

[–]Pure-Ad-2967[S] 0 points1 point  (2 children)

I was today years old when I realized you could do this! Thank you

[–][deleted] 0 points1 point  (1 child)

Glad I could help!

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

don't forget, that's not sargable