Update adricQueryMultiDB

Expanded on selection and to build the queries for me, but I still need to discover better way to join results than build multi-queries and combine via UNION.