This statement in a single query (e.g. in FastStats Designer) can attach other databases to the current one
attach database C:\Apteco\Build\system\data\lookups.sqlite
as lookup
The ATTACH
is not persistent in Designer
ATTACH DATABASE "C:\Apteco\Build\system\data\lookups.sqlite" AS lookup;
SELECT g.*, p.*
FROM geschaeftspartner g
INNER JOIN lookup.plz5 p ON g.plz = p.plz limit 10;