Generate insert/update/delete statements from selected data.