There was an error running the query [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 'FROM `rg-centroids` WHERE `name1` like 'brewhouse lane' and `label` = 'rg27' an' at line 1]