Unknown column 'privacy' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = privacy-policy and session_id = "hpq7afaj0eje3jso09bco8j401"