Clever work-around to SQL groups.