Generate the insert sql by columns