SELECT TOP 10 u.Id , c.UserId, c.CreationDate FROM Users ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Vegetarianism

Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

SELECT TOP 10 u.Id , c.UserId, c.CreationDate
FROM Users u INNER JOIN Comments c
ON u.Id = c.UserId
ORDER BY c.CreationDate DESC

SELECT TOP 10 CreationDate
FROM Comments
ORDER BY CreationDate DESC

SELECT TOP 10 u.Id , COUNT(c.UserId)
FROM Users u INNER JOIN Comments c
ON u.Id = c.UserId
GROUP BY u.ID
ORDER BY COUNT(c.UserId)

Enter Parameters

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