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