How to list the tables in a SQLite database file that was opened with ATTACH?

前端 未结 17 2523
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 11:33

What SQL can be used to list the tables, and the rows within those tables in an SQLite database file - once I have attached it with the

17条回答
  •  一向
    一向 (楼主)
    2020-11-22 12:21

    Use .help to check for available commands.

    .table
    

    This command would show all tables under your current database.

提交回复
热议问题