SELECT SUM(user_sum) FROM ( SELECT TOP 5 1 AS user_sum FROM

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT
    SUM(user_sum)
FROM (
    SELECT TOP 5
        1 AS user_sum
    FROM
        users
    WHERE
        location LIKE '%new york%' OR
        location LIKE '%ny%' OR
        location LIKE '%nyc%' OR
        location LIKE '%new york city%'

)As top_5_users;

Enter Parameters

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