學習筆記 | 針對庫中的所有表生成select count(*)對應的SQL語句

在這裏插入圖片描述


# sqlite
select "select count(*) from "||name||";" as cnts
from sqlite_master 
where type='table';
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章