The SQLite library creates and maintains a database in a single file with basic SQL commands to add data and query. A front-end “sqlite3” program can be used interactively and for scripting. Read more at
Here are some things for working with SQLite in Emacs,