SELECT U.Age, COUNT(*) AS Count_per_Age FROM POSTS P JOIN...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT U.Age, COUNT(*) AS Count_per_Age 
FROM POSTS P JOIN USERS U ON(P.OwnerUserId=U.Id)
WHERE U.Age>=20 OR U.Age<=30
GROUP BY U.Age

Enter Parameters

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