instruction: Tags with users who became experts. Finding how many people have both answered and asked questions in various tags.
response: WITH TopTags AS (SELECT TagName FROM Tags ORDER BY Count DESC LIMIT 10) SELECT DISTINCT T.TagName FROM TopTags AS T WHERE PATINDEX('%' + T.TagName + '%', 'java,javascript') > 0 INTERSECT SELECT DISTINCT T.TagName FROM TopTags AS T WHERE PATINDEX('%' + T.TagName + '%', 'java') > 0