I thought Berkeley DB was a key/value database, what is the SQL API?
Berkeley DB’s SQL API is the SQL processing top half of SQLite layered on top of the storage engine of Berkeley DB. This combination of Berkeley DB and SQLite provides a SQL command line utility called dbsql (a functional equivalent of the sqlite3 command line utility), third party libraries (including JDBC and ODBC), and the SQLite version 3 C/C++ API. This feature is enabled by passing the –enable-sql argument to the configure script before you build the library and tools from the Berkeley DB package.