How many rows?

0

Please login or register to vote for this query.

(click on this box to dismiss)

How many rows does each table have?

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

-- How many rows?
-- How many rows does each table have?

SELECT
   (SELECT COUNT(*) from Posts) as Posts,
   (SELECT COUNT(*) from Users) as Users,
   (SELECT COUNT(*) from Comments) as Comments,
   (SELECT COUNT(*) from Badges) as Badges,
   (SELECT COUNT(*) from PostHistory) as PostHistory,
   (SELECT COUNT(*) from PostHistoryTypes) as PostHistoryTypes,
   (SELECT COUNT(*) from PostTags) as PostTags,
   (SELECT COUNT(*) from PostTypes) as PostTypes,
   (SELECT COUNT(*) from Tags) as Tags,
   (SELECT COUNT(*) from Votes) as Votes,
   (SELECT COUNT(*) from VoteTypes) as VoteTypes

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results