How to replace field name with a variable in exported whereclause?

المشرف العام

Administrator
طاقم الإدارة
In the select by attribute how do I replace "AADT", with a predefined string variable?

I don't understand the pattern in "\"AADT\">=" , can you please explain why is it that way when exported from arcMap model builder?

arcpy.SelectLayerByAttribute_management(inFeatures,"NEW_SELECTION","\"AADT\" >="+str(minval)+ "AND \"AADT\"
 
أعلى