I have a sqlite file but I don’t know what tables there are in it and thus I can’t use a SELECT query.
So, is there a way to know what table are in it ?
P.S. I am under Ubuntu Linux and I have already installed sqlite3 from shell.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can open the database using sqlite3 using:
Once in the sqlite3 shell you can simply type:
to see a list of all the tables.
You can see the table structure of a particular table using:
You can also omit the table name to see the schema for the whole database.
Information about these commands and more can be seen by typing: