WITH lv_users AS ( SELECT DisplayName, Location, Id FROM ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Moderators

Q&A for community managers, administrators, and moderators

WITH
lv_users AS
(
SELECT DisplayName, Location, Id
FROM Users
WHERE LOWER(location) LIKE '%latvija%' OR LOWER(location) LIKE '%latvia%'
),
users_with_editor_badge AS
(
SELECT * FROM Badges WHERE LOWER(Name) LIKE '%editor%'
)
SELECT * FROM users_with_editor_badge

Enter Parameters

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