proba

0

Please login or register to vote for this query.

(click on this box to dismiss)

Russian Language

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

SELECT SUM(P.score), T.tagname
FROM tags T, posts P
WHERE P.tags LIKE '%'+T.tagname+'%'
GROUP BY tagname


SELECT Count
FROM tags
WHERE tagname='full-house'

SELECT P.score, T.tagname
FROM tags T, posts P
WHERE P.tags LIKE '%'+T.tagname+'%'

SELECT P.score, T.tagname, T.count
FROM (SELECT * FROM Tags WHERE count>4) T, posts P
WHERE P.tags LIKE '%'+T.tagname+'%'


SELECT AVG(P.score) AS AvgScore, T.tagname
FROM (SELECT * FROM Tags WHERE count>4) T, posts P
WHERE P.tags LIKE '%'+T.tagname+'%'
GROUP BY tagname
ORDER BY AvgScore DESC

Enter Parameters

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