Q1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

select top 100 posts.id, posts.body, cast( posts.creationDate as date), sum(posts.ViewCount), count(comments.id)
from posts
left outer join comments on(posts.id = comments.postid)

group by posts.id, posts.body, posts.creationDate

Enter Parameters

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