There are situation when we need to maintain(store) data at our application level, this is mainly done when we try to execute functionalists at offline mode. So for these kind scenarios android sdk has provide us class known as SQLiteOpenHelper with the help of which we can maintain a database.
The very first step is to learn how to create a table. And before that you should know what is Table and Columns . It is very basic terminology of sqlite. So briefly we can say that table is a structure with various columns in which we store the data of a particular data type.
Lets take up an example a very common example I must say :) . Suppose you need to save an employee data, here I'm just saving the name of employee, his salary, his designation. You can have more information as per your requirement.
So first we need to declare the following before we move ahead :