grant multi query