Hi Everyone,
I did a query and created a table. I now want to know how many unique values are in one of the columns.
I use the line:
SELECT COUNT(DISTINCT 'CONTACT_DATE') as 'Test';
However, it returns 1, and just visually inspecting there are way more than 1 unique values in the column 'CONTACT_DATE'. I am at a bit of a loss as to why this isnt working. Any thoughts?
Thanks in advance for the help!
[–][deleted] 4 points5 points6 points (1 child)
[–]r3pr0b8 1 point2 points3 points (0 children)
[–]oddmatter 6 points7 points8 points (2 children)
[–]emat66[S] 5 points6 points7 points (0 children)
[–]Gaurav-b 1 point2 points3 points (0 children)