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