Some time ago, I played around with HSQLDB in-memory databases. You have to have Java installed for that.
This enables you to use any valid SQL clause, including join between tables. No need to create a separate .odb file.
Basic procedure is:
Define names for the data you want to use as SQL Tables
Format the header cells with the right format. HSQLDB is using that format for the data type. Currently supported is @ (text), Boolean, and numeric.
The rest is described in the sheet AnalysisStadtKreisLand
For non-German users: The raw data are a lists of Stadt (=town), Kreis (= county), and Land (=state) from Germany
Maybe a bit overkill …
inline-database - posted.ods (221.3 KB)