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

New No-Code Track! 🚀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
    • 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
  • 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
  • james mchugh
    james mchugh
    6,234 Points

    It's telling me I didn't select all columns. I did and I checked the snytax and still getting this error

    Posted February 17, 2022 3:00am by james mchugh
    james mchugh
    6,234 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • chris muhirwa
    chris muhirwa
    1,112 Points

    need help with the code challenge

    Posted September 2, 2021 5:17am by chris muhirwa
    chris muhirwa
    1,112 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Tremayne Moncrief
    Tremayne Moncrief
    2,381 Points

    I am trying to answer this question and I keep getting an error stating something is wrong with my SQL statement.

    Posted January 26, 2021 3:02am by Tremayne Moncrief
    Tremayne Moncrief
    2,381 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Cole Vance
    Cole Vance
    882 Points

    What is my query missing? SELECT * FROM users WHERE last_name = "Hinkley" OR "Pettit";

    Posted October 25, 2020 5:25pm by Cole Vance
    Cole Vance
    882 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    2 Answers

  • Claire Uzenski
    Claire Uzenski
    1,026 Points

    Need more help with SQL basics, having trouble with more of the equations

    Posted January 20, 2020 1:18pm by Claire Uzenski
    Claire Uzenski
    1,026 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    8 Answers

  • Antonio Pala
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Antonio Pala
    Front End Web Development Techdegree Student 16,928 Points

    Am I missing something?

    Posted October 24, 2019 10:08pm by Antonio Pala
    .a{fill-rule:evenodd;}techdegree
    Antonio Pala
    Front End Web Development Techdegree Student 16,928 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Devin Goodson
    Devin Goodson
    907 Points

    SELECT * FROM users WHERE last_name = "Hinkley" OR "Pettit" ; = Hinkley OR Pettit;

    Posted October 15, 2019 7:40am by Devin Goodson
    Devin Goodson
    907 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Cliona Dowling
    Cliona Dowling
    559 Points

    What is incorrect in this query:

    Posted September 4, 2019 4:01pm by Cliona Dowling
    Cliona Dowling
    559 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Cosmin Iuga
    Cosmin Iuga
    2,352 Points

    your site is down

    Posted July 20, 2019 5:52pm by Cosmin Iuga
    Cosmin Iuga
    2,352 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    0 Answers

  • Cosmin Iuga
    Cosmin Iuga
    2,352 Points

    I'm not able to answer this question.

    Posted July 20, 2019 2:31pm by Cosmin Iuga
    Cosmin Iuga
    2,352 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    5 Answers

  • kimberly moyer
    kimberly moyer
    1,773 Points

    unsure on error

    Posted June 19, 2019 6:41pm by kimberly moyer
    kimberly moyer
    1,773 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Brian Dengler
    Brian Dengler
    358 Points

    Why is the quiz rejecting my answer?

    Posted May 28, 2019 12:48am by Brian Dengler
    Brian Dengler
    358 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    2 Answers

  • David Lucas
    David Lucas
    851 Points

    I answered the question right but the Bummer prompt pops up. Please contact me regarding the SQL Basics course.

    Posted May 11, 2019 7:03pm by David Lucas
    David Lucas
    851 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    0 Answers

  • Michael Venner
    Michael Venner
    351 Points

    What is wrong with my SQL code ``` SELECT * FROM results WHERE away_team = Hessle AND away_score > 18; ```

    Posted March 15, 2019 9:36pm by Michael Venner
    Michael Venner
    351 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Kyle St Jean St Jean
    Kyle St Jean St Jean
    220 Points

    i have the " FROM results " typed in for this challenge and it's giving me a prompt that I'm not selecting from results

    Posted February 24, 2019 2:14am by Kyle St Jean St Jean
    Kyle St Jean St Jean
    220 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Christian Schou
    Christian Schou
    9,208 Points

    Error in SQL challenge

    Posted February 19, 2019 9:49am by Christian Schou
    Christian Schou
    9,208 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Elyse Maniaci
    Elyse Maniaci
    349 Points

    Why is my answer incorrect?

    Posted October 22, 2018 8:12pm by Elyse Maniaci
    Elyse Maniaci
    349 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Ali Dabbir Khan
    Ali Dabbir Khan
    1,076 Points

    What is the correct answer to the 2nd question?

    Posted September 28, 2018 8:21am by Ali Dabbir Khan
    Ali Dabbir Khan
    1,076 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Kolio Kolev
    Kolio Kolev
    785 Points

    Not sure what's going on, but it keeps saying "did you select from the results table" and my code clearly selects it

    Posted September 27, 2018 1:12am by Kolio Kolev
    Kolio Kolev
    785 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    0 Answers

  • Shain Jones
    Shain Jones
    1,315 Points

    trouble with two conditions

    Posted September 12, 2018 11:03pm by Shain Jones
    Shain Jones
    1,315 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Shain Jones
    Shain Jones
    1,315 Points

    Help with multiple conditions

    Posted September 12, 2018 6:58pm by Shain Jones
    Shain Jones
    1,315 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • Amy Hsieh
    Amy Hsieh
    6,023 Points

    This is easy but I didn't know what's wrong with my SQL code. I guess played_on means who play in that game.

    Posted August 5, 2018 3:11pm by Amy Hsieh
    Amy Hsieh
    6,023 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    4 Answers

  • Trevor Ward
    Trevor Ward
    353 Points

    SELECT * FROM results WHERE id = "Hessle" and away_score > 18; Bummer: Did you select from the 'results' table?

    Posted June 21, 2018 1:58am by Trevor Ward
    Trevor Ward
    353 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    1 Answer

  • ericwidman3
    ericwidman3
    4,679 Points

    Not allowing me to continue

    Posted June 3, 2018 10:24pm by ericwidman3
    ericwidman3
    4,679 Points
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition

    2 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.