Candidates

0

Please login or register to vote for this query.

(click on this box to dismiss)

Robotics

Q&A for professional robotic engineers, hobbyists, researchers and students

/*
SELECT TOP 10 ownerUserId, SUM(score) AS totalScore
FROM posts
WHERE (tags LIKE '%<sql>%'
    OR tags LIKE '%<r>%'
    OR tags LIKE '%<python>%')
  AND ownerUserId IS NOT NULL
GROUP BY ownerUserId
ORDER BY totalScore DESC
;
*/
SELECT COUNT(*), 'posts' AS "table"
FROM posts
WHERE (tags LIKE '%<sql>%'
    OR tags LIKE '%<r>%'
    OR tags LIKE '%<python>%')
  AND ownerUserId IS NOT NULL
UNION ALL
SELECT COUNT(*), 'users'
FROM users
WHERE id IS NOT NULL

Enter Parameters

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