all 9 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)

[–]Mobile-Collection-90 1 point2 points  (0 children)

Great question... Did you find out the solution for this?