Updated queryAdvanced slides