Question 1

0

Please login or register to vote for this query.

(click on this box to dismiss)

The following query displays select fields from the Users table. Modify the query to display the users ordered by decreasing reputation.

Skeptics

Q&A for scientific skepticism

select top(10)
        p.id, 
        p.title, 
        p.tags,
        len(p.tags) - len(replace(p.tags, '<','')) as TagCount,
        ptype.name
from posts p
left join posttypes ptype
on p.PostTypeId  = ptype.id
where ptype.name = 'Question'
;

Enter Parameters

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