This tutorial demonstrates how TSQLServer can be used to create a connection with a SQlite3 database.
It accesses the Sqlite data base. Download from https://root.cern/files/root_download_stats.sqlite Then a TH1F histogram is created and filled using a expression which receives the recorded values in the "version" column of the sqlite3 database. The histogram shows the usage of the ROOT development version. This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.
Definition in file SQLiteVersionsOfRoot.C.