Upto selecting the data from the sqlite3 database.