

The name and the country field should be blank. Once users table is selected, click on New Record button to add a new row or data into the table. Now select the users table from the marked section of the screenshot below.
#Sqlitestudio ubuntu how to#
Now I will show you how to insert data into the users table.įirst go to the Browse Data tab as marked in the screenshot below. Once you’re happy with your table, click on OK. SQLite Browser is an awesome tool to lean SQLite as well. You can run this code in the SQLite 3 command line interface and create an identical users table as well. In the marked section of the screenshot below, you can find the SQL code. I added name and country field, set their Type to TEXT and checked the Not null checkboxes. I named the field id, changed the Type to INTEGER, checked the Not null, PK (Primary Key), AI (Auto Increment) checkboxes. Once you click on Add field button, you should see a new field as marked in the screenshot below.

Now you can click on Add field button to add as many fields or columns on your table. If you want to follow along, users table it is. Using this window, you can create your first SQLite 3 table.Įnter the name of the table. Type in a filename and save it somewhere on your filesystem. You should see the following dialog window. In this section, I will show you the basics of SQLite 3 database with SQLite Browser graphical user interface.įirst click on New Database to create a new database using SQLite Browser. Getting Started with SQLite 3 using SQLite Browser SQLite Browser should start as you can see in the screenshot below. You should see a database icon as marked in the screenshot below. Now you can go to the Application Menu and search for SQLite Browser.
