sql.py: mk_flatten_mapping(): preserve Col objects will have tables changed to flat_table to work with flattened table
sql.py: mk_flatten_mapping(): preserve Col objects will have tables changed to flat_table to work with flattened table