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