distinct-values missing ')'