sudo dnf install sqlite
or on Debian based distro's:
sudo apt-get install sqlite3
Then open the database with:
sqlite3 /path/to/database.sqlite
To view the tables we should issue:
.tables
and to review the rows within them:
select * from <table-name>;
and to describe the table schema issue:
.schema <table-name>
to insert issue:
insert into <table-name> values('testing',123);
and to delete issue:
delete from <table-name> where <column-name> = 1;
No comments:
Post a Comment