Valentina Studio Pro can be used to create databases, tables, queries, etc... for SQLite, MySQL, Postgres and Valentina DB.
It also has a visual report designer. Reports can also be connected to an ODBC datasource as well as the databases listed above.
Valentina Studio Free can be used to preview/print the reports created with Pro. With the upcoming version (out in the next few days) there will be a command line interface too, so you'll be able to use RunProgram() to call a report and have it output as a *.pdf file.
You may also find Valentina Server interesting, as well as serving reports created with Studio Pro it enables you to share SQLite databases in a client/server set up. There are various ways of communicating with Valentina Server including ODBC and a REST interface.
E&OE

*Edited as I have confirmed reports can definitely be connected to an ODBC datasource.