1) Create insert sql statements 2) Insert into a table 3) select col1+col2 from table 4) fetchrow 5) print