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 UNION ALL SELECT COUNT(*), 'users' FROM users UNION ALL SELECT COUNT(*), 'tags' FROM tags