CREATE CURSOR b1 (aa1 I, aa2 I, aa3 I, aa4 I, aa5 I)
INSERT INTO b1 VALUES (1,2,3,4,5)
INSERT INTO b1 VALUES (4,5,6,7,8)
INSERT INTO b1 VALUES (7,8,9,1,2)
CREATE CURSOR b2 (b1 I, b2 I, b3 I)
INSERT INTO b2 (b1,b2,b3) SELECT aa1,aa2,aa3 FROM b1
SELECT * FROM b2