Possibly bogus user website URLs

0

Please login or register to vote for this query.

(click on this box to dismiss)

Website URLs used by more than one account

Bicycles Meta

Q&A about the site for people who build and repair bicycles, people who train cycling, or commute on bicycles

-- Possibly bogus user website URLs
-- Website URLs used by more than one account

-- based on http://data.stackexchange.com/stackoverflow/s/88/users-with-more-than-10-duplicate-accounts by sam.saffron

SELECT 
    u1.WebsiteURL,
    Count(u1.Id) AS Accounts,
    (SELECT Cast(u2.Id AS varchar) + ' (' + u2.DisplayName + '), ' FROM Users u2 WHERE u2.WebsiteURL = u1.WebsiteURL FOR XML PATH ('')) AS IdsAndNames
FROM
    Users u1
WHERE
    u1.WebsiteURL IS NOT NULL
GROUP BY
    u1.WebsiteURL
HAVING
    Count(u1.Id) > 1
ORDER BY 
    Accounts DESC

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results