Added group to sql options