不为别的,只为做一个连自己都羡慕的人

sqlite查询多个表的总数据量

SELECT (SELECT count(*) FROM "a_table")+(SELECT count(*) FROM "b_table")+(SELECT count(*) FROM "c_table")+(SELECT count(*) FROM "d_table") + (SELECT count(*) FROM "e_table") as count

 

posted @ 2022-03-07 11:21  升级打怪  阅读(777)  评论(0编辑  收藏  举报