思路:
列出数据库中所有表名:
select name from sqlite_master where type=
'table'
用||连接
"select count(*) from" || name || ";"从而实现连接
select "select count(*) from " || name || ";" as cnts
from sqlite_master where type = 'table';
学习啦
思路:
列出数据库中所有表名:
select name from sqlite_master where type=
'table'
用||连接
"select count(*) from" || name || ";"从而实现连接
select "select count(*) from " || name || ";" as cnts
from sqlite_master where type = 'table';
学习啦