tables name needs to be selected regardless of export_to