Original User: sstrand@ocwd.comOriginal Date: 2013-04-18T13:54:51-0600I am trying to use the Make Query Table to join two tables in a one to many situation.I don't want to link the entire script because it is huge. Here is the piece of code within the larger script:sqltable = "sqltable_" + InfoRequestNum
inList = ["wellresult","westbays"]
wellsList = ["wellresult.STAID1_T","wellresult.STAID2_T","westbays.STAID4"]
arcpy.MakeQueryTable_management(inList, sqltable, "USE_KEY_FIELDS", wellsList, "", "")
Some info about the script:Everything is taking place in a file geodatabase.wellresult is a point featureclasswestbays is a tableEach point has a STAID1_T but there are multiple STAID4 that relate to one STAID1_TThe output should be sqltable.The error:ERROR 000152: Invalid input data