ArcGIS Pro 3.2.2; File Geodatabase:
I want to learn how to use Make Query Table, possibly as an alternative join mechanism when Add Join isn't suitable, such as:
The docs say:
Make Query Table (Data Management)
The query can be used to join several tables or return a subset of fields or rows from the original data in the database.
I thought Make Query Table might do a 1:1 or 1:M join between two tables using a common join field. But when I tested it, the resulting QueryTable isn't what I expected:
Is it doing some sort of cartesian product/CROSS JOIN?
What am I missing? What's the intended use case? How can I do a 1:1 or 1:M join?
Solved! Go to Solution.
It looks like the join fields need to be specified in the WHERE clause SQL expression:
Esri Case #03574486 - How to join using Make Query Table?
…[use] SQL expressions. Please refer to the following link for examples of queries using the Make Query Table tool.
https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/examples-of-queries-with-t...
It looks like the join fields need to be specified in the WHERE clause SQL expression:
Esri Case #03574486 - How to join using Make Query Table?
…[use] SQL expressions. Please refer to the following link for examples of queries using the Make Query Table tool.
https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/examples-of-queries-with-t...