SQLSTATE[42S22]: Column not found: 1054 Unknown column 'medal' in 'where clause'. Failing Query: "SELECT s.numero AS numero, s.posicion AS posicion, s.nombre AS nombre, s.sexo AS sexo, s.fecha_nacimiento AS fecha_nacimiento, s.categoria AS categoria, s.starttime AS starttime, s.finishtime AS finishtime, s.mp1 AS mp1, s.mp2 AS mp2, s.mp3 AS mp3, s.mp4 AS mp4, s.mp5 AS mp5, s.mp6 AS mp6, s.mp7 AS mp7, s.mp8 AS mp8, s.guntime AS guntime, s.distancia AS distancia, s.estimado AS estimado, s.equipo AS equipo, s.pace AS pace, s.paso AS paso FROM sptm_results_SPTMCAR1619116461 s WHERE (s.numero = medal OR s.nombre = '') LIMIT 1"