sb.Append("SELECT u.Reputation");
sb.Append(" FROM Users AS u");
sb.Append(" INNER JOIN Comments AS c ON c.UsersID=u.UsersID");
sb.Append(" WHERE c.CommentsID=@CommentsID");
I want to select that value ..Reputation from the users table and then insert the number 5 to it.. how do I do that..? I want the users reputation go by value of 5 in the database.
1 Answer