When I do Vincent's suggested sql, I now get a 3rd column, 'newrank', but the NULL values aren't listed. For example, if there is only 1 prod_id row in the poll table, and it has a value of 'good' for 'rank' I get:
rank count(rank) newrank
good 1 good
What I would like to get is:
rank count(rank) newrank
good 1 good
bad 0 bad
ugly 0 ugly
Is this possible or should I not make 'rank' an ENUM column type?
Thanks, Doug