How do I subtract one table column value from another table column value, and save the value in the first table column in the process?
Thanks for your help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Where
tablenameis the table andcol1is the first column andcol2is the second column.If you are meaning that the values are coming from different tables then the query is much the same: