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