DisplayRealNames: get MaxRows count
SELECT DISTINCT COUNT(*) AS cnt FROM realnames A,titlenames T WHERE A.showname = T.showname AND T.titlename='Babes in Toyland' AND T.hiphop= AND T.titlekind='group&hphp=1024'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND T.titlekind='group&hphp=1024'' at line 1