Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Alex Martino
    Alex Martino
    367 Points

    Problem with primary key

    Posted September 27, 2015 7:53pm by Alex Martino
    Alex Martino
    367 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Bularca Andrei
    Bularca Andrei
    2,408 Points

    This is sad :(

    Posted September 24, 2015 11:14am by Bularca Andrei
    Bularca Andrei
    2,408 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • Matthew Flewelling
    Matthew Flewelling
    5,221 Points

    Not sure what I'm missing

    Posted September 22, 2015 5:23pm by Matthew Flewelling
    Matthew Flewelling
    5,221 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    0 Answers

  • Angelos Bolovinos
    Angelos Bolovinos
    3,958 Points

    ALTER TABLE FOREIGN KEY

    Posted September 21, 2015 6:12am by Angelos Bolovinos
    Angelos Bolovinos
    3,958 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Ryan Quinn
    Ryan Quinn
    2,027 Points

    Creating Primary and Unique Keys

    Posted September 19, 2015 5:47pm by Ryan Quinn
    Ryan Quinn
    2,027 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    3 Answers

  • gilroncharles
    gilroncharles
    8,978 Points

    My answer doesn't pass. I've copied the command into mysql workbench and the table is created with no issues;

    Posted September 16, 2015 2:08am by gilroncharles
    gilroncharles
    8,978 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Danielle Schertz
    Danielle Schertz
    483 Points

    Stuck on Challenge question

    Posted September 3, 2015 7:29pm by Danielle Schertz
    Danielle Schertz
    483 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Asif Ahmed
    Asif Ahmed
    8,980 Points

    This command isn't working even though it works in MySQLWORKBENCH

    Posted August 28, 2015 1:49am by Asif Ahmed
    Asif Ahmed
    8,980 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • Pierce Mulligan
    Pierce Mulligan
    1,106 Points

    What is the issue with my PRIMARY KEY?

    Posted August 10, 2015 3:23pm by Pierce Mulligan
    Pierce Mulligan
    1,106 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • MUZ140886 Mandava
    MUZ140886 Mandava
    4,675 Points

    YOU SHOULD TRY CREATE TRY WRITE TABLE

    Posted July 28, 2015 10:29am by MUZ140886 Mandava
    MUZ140886 Mandava
    4,675 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • STEVE NODINE
    STEVE NODINE
    2,910 Points

    What is wrong with this? Challlenge 3 of 3 ALTER TABLE movies ADD COLUMN genre_id INTEGER NULL, ADD CONSTRAINT FOREIGN

    Posted July 26, 2015 10:18pm by STEVE NODINE
    STEVE NODINE
    2,910 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • MUZ140996 Simbarashe Gombedza
    MUZ140996 Simbarashe Gombedza
    3,813 Points

    Database Foundations

    Posted July 23, 2015 8:53am by MUZ140996 Simbarashe Gombedza
    MUZ140996 Simbarashe Gombedza
    3,813 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • Daniel Schwemmlein
    Daniel Schwemmlein
    4,960 Points

    don't know whats missing in my constraint

    Posted July 5, 2015 6:44pm by Daniel Schwemmlein
    Daniel Schwemmlein
    4,960 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    0 Answers

  • Maria De Bruyn
    Maria De Bruyn
    4,635 Points

    Database constraint and references

    Posted June 29, 2015 8:32pm by Maria De Bruyn
    Maria De Bruyn
    4,635 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Nicholas Gentile
    Nicholas Gentile
    2,930 Points

    I don't understand what I'm missing here.

    Posted June 29, 2015 4:52pm by Nicholas Gentile
    Nicholas Gentile
    2,930 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    0 Answers

  • Richard Humulock
    Richard Humulock
    7,477 Points

    Whats wrong with this response??

    Posted June 24, 2015 7:46pm by Richard Humulock
    Richard Humulock
    7,477 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • William J. Terrell
    William J. Terrell
    17,403 Points

    Database Foundations - Keys and Auto-Incrementing Values - Code Challenge Part I - [SOLVED]

    Posted June 16, 2015 8:16pm by William J. Terrell
    William J. Terrell
    17,403 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    1 Answer

  • James Lambert
    PLUS
    James Lambert
    Courses Plus Student 14,477 Points

    code challenge won't accept my mysql code

    Posted May 25, 2015 2:21pm by James Lambert
    James Lambert
    Courses Plus Student 14,477 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Henry Fleisher
    Henry Fleisher
    460 Points

    Why Is PRIMARY KEY pk_id missing?

    Posted May 24, 2015 5:33pm by Henry Fleisher
    Henry Fleisher
    460 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    0 Answers

  • Binu Alexander
    Binu Alexander
    4,081 Points

    Stuck at the alter table statement

    Posted May 12, 2015 8:25am by Binu Alexander
    Binu Alexander
    4,081 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    2 Answers

  • Emanuel Ramirez
    Emanuel Ramirez
    2,545 Points

    I keep getting the same fk_genre_id missing error

    Posted May 8, 2015 6:58pm by Emanuel Ramirez
    Emanuel Ramirez
    2,545 Points
    • Development Tools
    • Database Foundations
    • Joining Relational Data Between Tables in SQL
    • Keys and Auto-Incrementing Values

    0 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord