.tables ?PATTERN? List names of tables matching a LIKE pattern
它转换为以下SQL:
SELECT name FROM sqlite_masterWHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%'UNION ALLSELECT name FROM sqlite_temp_masterWHERE type IN ('table','view')ORDER BY 1
SELECT name FROM sqlite_masterWHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%'UNION ALLSELECT name FROM sqlite_temp_masterWHERE type IN ('table','view')ORDER BY 1;