CREATE TABLE `players` ( `pid` int(2) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL, `score` int(2) NOT NULL, `game` varchar(20) NOT NULL, PRIMARY KEY (`pid
You want to use a group by statement rather than a subselect to solve this particular type of problem.