A Database Error Occurred

Error Number: 1064

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 'rank from geo_region union select concat('country|', cast(country_id' at line 1

select concat('region|', cast(region_id as char)) combined_id, 'region' area_type, region_id area_id, name, 1 rank from geo_region union select concat('country|', cast(country_id as char)) combined_id, 'country' area_type, country_id area_id, name, 2 rank from geo_country order by `rank`, name

Filename: controllers/Funding_programmes.php

Line Number: 53