test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

Q&A for Joomla! administrators, users, developers and designers

SELECT u.Id, u.Reputation, u.CreationDate, u.Views, u.UpVotes, u.DownVotes , COUNT(*) as PostsCount, AVG(p.Score) as AveragePostScore, AVG(p.ViewCount) as AveragePostViews
FROM Users as u 
JOIN Posts as p ON p.OwnerUserId = u.Id
WHERE u.Id = 3970387
GROUP BY u.Id, u.Reputation, u.CreationDate, u.Views, u.UpVotes, u.DownVotes

Enter Parameters

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