There are instructions on the web. For example,
http://www.sqlitetutorial.net/sqlite-export-csv/.
The details of the export to CSV and the import to calibre will depend on your database schema. (If you don't know what that means then you have a lot more to learn in order to accomplish this.)