How can I see tables in SQLite in Android?

Bảo Vy

Member
How can I see tables in SQLite in Android?
Answer
There are a few steps to see the tables in an SQLite database:
  1. List the tables in your database: .tables.
  2. List how the table looks: .schema tablename.
  3. Print the entire table: SELECT * FROM tablename;
  4. List all of the available SQLite prompt commands: . help.
 

Tìm kiếm

Back
Top