Add Tabs for queries