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