fff

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

SELECT u.Id AS [User Link],
                            CONCAT('https://stackoverflow.com/users/', u.Id) AS [Profile Link],
                            u.DisplayName,
                            u.Location,
                            u.WebsiteUrl,
                            u.AboutMe,
                            u.Views,
                            u.UpVotes,
                            u.DownVotes,
                            answers.AnswersPosted
             FROM Users u
        
             LEFT JOIN
             (
               SELECT OwnerUserId, COUNT(*) AS AnswersPosted
               FROM Posts
               JOIN PostTypes
               ON PostTypes.Id = Posts.PostTypeId
               WHERE PostTypes.Name = 'Answer'
               GROUP BY Posts.OwnerUserId
             ) answers
             ON answers.OwnerUserId = u.Id
             
             WHERE LOWER(Location) LIKE '%tel aviv%' OR
                            LOWER(Location) LIKE '%jerusalem%' OR
                            LOWER(Location) LIKE '%kfar saba%' OR
                            LOWER(Location) LIKE '%lod%' OR
                            LOWER(Location) LIKE '%hodenhagen%' OR
                            LOWER(Location) LIKE '%herzliya%' OR
                            LOWER(Location) LIKE '%rishon lezion%' OR
                            LOWER(Location) LIKE '%tlv%' OR
                            LOWER(Location) LIKE '%netanya%' OR
                            LOWER(Location) LIKE '%kadima%' OR
                            LOWER(Location) LIKE '%ramat hasharon%' OR
                            LOWER(Location) LIKE '%haifa%' OR
                            LOWER(Location) LIKE '%rehovot%'

Enter Parameters

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