select 
* 

from  
groups a 

where 
a.WGROUPID = <@KEY@>