Question

Using SQL, how do you update multiple rows (Task_system) to match (Task_name)? I want all task_system...

Using SQL, how do you update multiple rows (Task_system) to match (Task_name)? I want all task_system to say the letter "V" instead of "W" Notice how the id_numbers are different I want to be able to update all that say W to V throughout the whole table. Please and thank you.

EX:

ID_NUm task_system Task_name
1 w -System V
2 W

-System V

5 W -System V
9 w -System V
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The below query will update all task_system from W to V, assuming your table name is Tasks. If it is not, replace it with the correct name of the table:

UPDATE Tasks
SET task_system = 'V'
WHERE task_system = 'W';

This completes the requirement. Let me know if you have any questions.

Thanks!

Add a comment
Know the answer?
Add Answer to:
Using SQL, how do you update multiple rows (Task_system) to match (Task_name)? I want all task_system...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT