cmangos/mangos-tbc — pull request #23 by lynsky (2013-07-23 22:41:38+00:00)
Title: distinct will return duplicate entries and cause primary key related err...

distinct will return duplicate entries and cause primary key related errors, group by will assure unique ones