Unknown column 'vendor' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = vendor and session_id = "pljq85orlgonvs7vr4d0gr9vq5"