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 trialfrank martinez
8,858 Points" . . so we need to use the keyword 'REFERENCES' and then . . "
uhmm . . I passed the three-part challenge but was left troubled by task 3 of 3. The fact that the documentation makes no mention of this mandatory REFERENCES keyword in adding a constraint is a bit disconcerting . . guiding comments ?
1 Answer
Steven Parker
231,269 PointsThis requirement is discussed at 9:19 in the video.
If you mean the online documentation, If you follow any of the references to the CREATE TABLE page, you can find reference_definition explained there.
But I would agree that the ALTER TABLE page could use this added to its definition section:
reference_definition:
Ā Ā (see CREATE TABLE options)
Perhaps you should submit this suggestion to the folks at MySql for inclusion in a manual page update!