>>249 亀レスだが、スクリプトなんぞいらん。さくっとSQL使え

create table moto (c2 int,c1 int);
create table shin as select c1,c2 from moto;
drop table moto;
alter table shin rename to moto;