adding sql for sqlite3