SELECT TOP 3
GI1.ID,
GI1.GroupID,
GI1.Name,
GI1.CreatedBy,
GI1.CreationDate
FROM
GroupTable GT
INNER JOIN GroupItems GI1 ON
GI1.GroupID = GT.ID AND
GI1.CreatedBy = @user
WHERE
EXISTS
(
SELECT *
FROM
GroupItems GI2
WHERE
GI2.GroupID = GT.ID AND
GI2.ID <> GI1.ID
)
ORDER BY
GT1.CreationDate DESC