output to be distinct, if all the GROUP BY columns appear in the output. Per suggestion from Dennis Haney.
Attach a file by drag & drop or click to upload