Tips on T-SQL, SQL Server DBA stuff, and more!
SELECT UserID, COUNT(UserID) AS Total FROM tblUsers GROUP BY UserID HAVING COUNT(UserID) > 1
No comments:
Post a Comment