1. Enter the directory where the database is located:
Execute sqlite3 richard.db //richard.db is the database name
2.select * from sqlite_master where type='table'; //View the creation statement Note: Finally ';' Don't forget
3.select * from tb_user; //View the contents of the table, where 'tb_user' is the table name
4. .quit //Return to the previous level, be careful not to miss the point before quit