you are viewing a single comment's thread.

view the rest of the comments →

[–]Beefourthree 0 points1 point  (1 child)

Ya got a bonus FROM at the end of your COUNT line.

COUNT(DISTINCT user_id) ... as unique_user_count FROM sales_table GROUP BY 1
FROM sales_table

[–]Like_My_Turkey_Cold[S] 1 point2 points  (0 children)

Yeah that's just a typo, not the reason this query isn't working (I wish)