MYSQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'nan Autonomous Prefecture%' || `locationtext` LIKE '%Guizhou Province%' || `l...' at line 1
Query: SELECT `id` FROM minerals WHERE (`locationtext` LIKE '%Qinglong Mine%' || `locationtext` LIKE '%Dachang Sb ore field%' || `locationtext` LIKE '%Qinglong Co.%' || `locationtext` LIKE '%Qianxi'nan Autonomous Prefecture%' || `locationtext` LIKE '%Guizhou Province%' || `locationtext` LIKE '%China%') && `id`!='6250'