warning: query [select tfs.related_file_name
from tour_file_years tfs
join tours t ON t.file_name = tfs.related_file_name AND t.version = 'PROD'
where tfs.tour_file_name = 'juliachild2011'
AND t.fiscal_year >
order by t.fiscal_year DESC
LIMIT 1 : NULL] : : :
warning: qrow [select tfs.related_file_name
from tour_file_years tfs
join tours t ON t.file_name = tfs.related_file_name AND t.version = 'PROD'
where tfs.tour_file_name = 'juliachild2011'
AND t.fiscal_year >
order by t.fiscal_year DESC
LIMIT 1] : DB Error: syntax error : select tfs.related_file_name
from tour_file_years tfs
join tours t ON t.file_name = tfs.related_file_name AND t.version = 'PROD'
where tfs.tour_file_name = 'juliachild2011'
AND t.fiscal_year >
order by t.fiscal_year DESC
LIMIT 1 [nativecode=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 'order by t.fiscal_year DESC
LIMIT 1' at line 6] :