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!

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 trial

Java Hibernate Basics Data Persistence & ORMs SQL Review

How do I fill out the answer to this question?

Answer is straightforward: SET course = "Swift Basics" WHERE id = 2

But I can't seem to get the question right. What could I be doing wrong?

Christopher Janke
Christopher Janke
11,054 Points

This question could more easily be answered if you were to wrap your code in three backticks (```) <-- By the "1" key on most keyboards, in order to see the format you are using.

1 Answer

Alexander Nikiforov
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,174 Points

I think you have to use single quotes like this

UPDATE treehouse SET course = 'Swift Basics' WHERE id = 2

It is definitely not super right, although in quiz it is given in single quotes...

It is nice to be changed, but I know that know Chris Ramacciotti left Treehouse. I think it can be quite problematic.

You can try to email to support, may be they can give an Exterminator badge :)

Thanks, Alexander. I was able to complete all answers in the quiz correctly when I figured out the pattern. The instructions should tell the user to use single quotes for text literals.