Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAndrii Kodola
Full Stack JavaScript Techdegree Student 16,870 PointsProblem with a quiz about UPDATING. Modifying Data With SQL course.
Hello. I don't understand why "=" isn't the wright answer. The rows with id = 1, 4 have to be changed from NULL. And also I don't understand why values 1 and 4 are in round brackets.
2 Answers
akak
29,445 PointsIf you want to update multiple rows you can use IN operator and then those rows in parenthesis.
UPDATE games SET platform = "Cross-Plaform" WHERE id IN (1,4)
Andrii Kodola
Full Stack JavaScript Techdegree Student 16,870 PointsThank you, it seems I hadn't paid enough attention.