Again maybe I wasn't clear, I need to filter data with a dynamically changing column name ( region code varies - state, zipcode, county etc ) which should match the corresponding value in the regions column ( region varies - CA, 95009, Orange etc ) . All this for the store table