t=table(1 as id,1.0 as EG1,2.0 as EG2,3.0 as EG3) t1=select id,EG1 as EG from t t2=select id,EG2 as EG from t t3=select id,EG3 as EG from t unionAll([t1,t2,t3],false)