I am trying to query a database where I have tbl1
I would like to count tbl1 and then return the distinct rows of clm1 tbl1.
For example, I have 10,000 entries in tbl1. clm1 represents a state so the output I am looking for is:
2,000 OH
4,000 CA
4,000 FL
Thanks!
I would like to count tbl1 and then return the distinct rows of clm1 tbl1.
For example, I have 10,000 entries in tbl1. clm1 represents a state so the output I am looking for is:
2,000 OH
4,000 CA
4,000 FL
Thanks!