SELECT (SELECT count(id) FROM Posts) AS CountPosts, (SELE...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

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;

Enter Parameters

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