Add select function of SQLite.