Q&A for people studying math at any level and professionals in related fields
SELECT (SELECT count(id) FROM Posts) AS CountPosts, (SELECT count(id) FROM Users) AS CountUsers, (SELECT cast(count(id) AS BIGINT) FROM Posts) * (SELECT cast(count(id) AS BIGINT) FROM Comments) AS CountAll;