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