select groups.*
  from groups where 
groups.WGROUPID = <@KEY@> 

