ArcGIS Pro 3.0.2
Is it possible to use the column of table in my Project to filter a query using the make query layer tool?
I have a table of events in my project with a location_id column, and I want to left join in my Locations table by location_id from different database. I want to only pull in locations that exist inside of my event table in the project so that I'm not loading the entire locations table.
Something like:
SELECT *
FROM location_tbl
WHERE location_tbl.id IN (<id_column_of_table_in_my_Pro_Project>)
I see this doc here about query parameters, but I don't see anything about passing in a column from an existing table as a parameter.
The data comes from two different SDE connection files to an MS SQL Server database.
WHERE col1 in (SELECT col1 FROM table2 WHERE col2 = testcase)). Without more info about the data sources, it's difficult to assist.