/*SELECT COUNT(*) FROM Users WHERE id not in(SELECT DISTI...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

--select count(*) from users;
    /*SELECT COUNT(*) FROM Users WHERE id 
    not in(SELECT DISTINCT(OwnerUserId) 
      FROM Posts as P
      WHERE year(CreationDate)=2018
        and p.posttypeid = 1
        and OwnerUserId IS NOT NULL);*/
        
        SELECT COUNT(*) 
        FROM Users as U
        JOIN Posts as P
          ON P.OwnerUserId = U.Id
        WHERE U.Reputation > 100
        AND P.PostTypeId = 1
        AND (P.Tags LIKE '%sql%' 
          OR 
        P.Tags LIKE '%java%');

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results