Unknown column 'extra' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = extra-services and session_id = "qdf82io3jteeuhm77mj0j3o877"