select P.Id,max(U.Views) as most_views from Posts P join ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

select P.Id,max(U.Views) as most_views
from Posts P join Users U on P.Id=U.Id
group by P.Id
order by max(U.Views)

Enter Parameters

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