add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
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 ') ,problemCode,0)) AS countIssues -- misplaced paren
FROM myTable
GROUP BY code,' at line 5
Can't group on '???'
name place code countIssues
bill kc a 1
paul nz c 2
george uk e 1
name place code countIssues
paul nz c 2