📜  列出表 sqlite - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:32.099000             🧑  作者: Mango

代码示例1
>sqlite3 c:\db\my_base                        -- opens database
sqlite> .tables                                -- all tables
sqlite> .table '%es'                        -- tables ending with 'es'
-- Via SQL:
SELECT name FROM  sqlite_master 
WHERE type ='table' AND name NOT LIKE 'sqlite_%';