SyntaxFix
Write A Post
Hire A Developer
Questions
I have a more general answer; but I believe it is useful for counting the columns for all tables in a DB:
SELECT table_name, count(*) FROM information_schema.columns GROUP BY table_name;