add illegal query group table