update account set user_name = #{user_name} where id = #{id} insert into account(user_name,balance) value (#{user_name},#{balance})