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.

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

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 to meta site
loading Hold tight while we fetch your results