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

🤑 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

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

  • 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
    • Showing results for:
    • Databases
    • SQL Basics
    • Finding the Data You Want
    • Filtering on More than One Condition
    • Close
  • 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 on Feb 17, 2022 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 on Sep 2, 2021 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 on Jan 26, 2021 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 on Oct 25, 2020 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 on Jan 20, 2020 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 on Oct 24, 2019 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 on Oct 15, 2019 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 on Sep 4, 2019 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 on Jul 20, 2019 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 on Jul 20, 2019 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 on Jun 19, 2019 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 on May 28, 2019 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 on May 11, 2019 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 on Mar 15, 2019 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 on Feb 24, 2019 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 on Feb 19, 2019 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 on Oct 22, 2018 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 on Sep 28, 2018 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 on Sep 27, 2018 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 on Sep 12, 2018 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 on Sep 12, 2018 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 on Aug 5, 2018 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 on Jun 21, 2018 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 on Jun 3, 2018 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.