如何用SQL语句一次性统计多个表的行数

用select count(*) from [table name]时间太长了,希望大神帮忙
2025-01-26 22:34:06
推荐回答(2个)
回答1:

单个表 select count(1) from [表名]

回答2:

select count(*) from [table name1]+

select count(*) from [table name2]+

select count(*) from [table name3]