MySQL Error: Unknown column 'Frontier' in 'where clause'