You only need GitHub - xerial/sqlite-jdbc: SQLite JDBC Driver
Then open LO → Tools → Options → LibreOffice → Advanced → Java Options → Class Path → Add Archive
Look for the *.jar-file you have saved.
When creating the query there will be
JDBC URL: jdbc:sqlite:/home/…/mysqlite.db
or in Windows something like: jdbc:sqlite:/c:/…/mysqlite.db
Driver: org.sqlite.JDBC
When opening the database you will get an error
SQLite only supports TYPE_FORWARD_ONLY cursors.
Go to Edit → Database → Advanced Settings → Special Settings
and set Respect the result set type form the database driver
.
Now you could connect to the database and create queries with functions.