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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.