Unknown column 'upload' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = upload and session_id = "6vfslv4amk268624ho4nkilte5"