Highest reputation from a user with only one post

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 top 1 displayname, reputation, AccountId from users inner join (select owneruserid from
posts
--where
--posttypeid = 2
group by owneruserid
having count(1) = 1) oneanswer
on oneanswer.owneruserid = users.id
order by reputation desc

Enter Parameters

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