5. Create a result set with the following format for posts that have 5 or more tags where tags is

0

Please login or register to vote for this query.

(click on this box to dismiss)

Bicycles

Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles

select 
    Rtrim(replace(replace(Tags, '>',', '), '<',''), ', ') AS Tags,
    len(replace(replace(Tags, '>',','), '<',''))-len(replace(replace(replace(Tags, '>',','), '<',''),',','')) AS NumberofTags,
    Id AS PostId,
    OwnerUserId AS UserId,
    Body AS PostBody
from 
    posts
where
    len(replace(replace(Tags, '>',','), '<',''))-len(replace(replace(replace(Tags, '>',','), '<',''),',','')) > 4;

Enter Parameters

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