TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sumar Khan
NA
154
5.8k
Adding value from One Table To Another And Update values
Feb 26 2016 1:16 PM
I have two tables A and B In Sql:
A
Id Name Weight
1 Wheat 20 kg
2 Rice 30Kg
B
Name Weight
Wheat 10kg
I want to Add value of Wheat from Table A to B and update values according Like that
After Adding 20kg in B The value of Wheat In Table B would become 30kg and Value of Wheat in A become 0...
Plz Kindly tell me What query Will apply in Sql to such Scenario
Reply
Answers (
2
)
Failed to login to session state SQL server for user MyUser.
delete record particular year