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