AnsweredAssumed Answered

SelectLayerByAttribute_analysis HELP!!

Question asked by DonJFiore88 on Jan 10, 2014
Latest reply on Jan 10, 2014 by Caleb1987
Hey all, starting to get frustrated, if anyone can lend some clarity it'd be greatly appreciated.

arcpy.SelectLayerByAttribute_management('mwstates','NEW_SELECTION','"STATE_NAME"=\'Illinois\' or '"STATE_NAME"=\'Indiana\''


Code keeps returning only 'Illinois', (I want both 'Illinois' and 'Indiana') I've tried numerous variations. I think I have to be missing something obvious here. Thoughts??

Outcomes