Distinct Tables Values: 90%

This PR allows the ability to do distinct queries on table columns
Seems reasonable to me to prepend "value.", though.