MySQL support is not available in this PHP configuration
SELECT DISTINCT resources.resource_id FROM resources WHERE 1