sql_gen.py: Renamed set_default_table() to with_default_table() and copy col before modifying it so don't modify input
sql_gen.py: Renamed set_default_table() to with_default_table() and copy col before modifying it so don't modify input