Improved insert/update/delete output

Added separated stores to generate output columns in
insert/update/delete queries.