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 trialMiguel Nunez
3,266 PointsIf I wanted to return rows that match both conditions, which keyword would I use?
SELECT <columns> FROM <table> WHERE <condition 1> <condition 2>;
4 Answers
Charlie Harcourt
8,046 PointsThe correct answer is "OR"
:)
Steven Parker
231,236 Points
Put "AND
" (without the quotes) between the two conditions.
Then you will see "Well done! That's the correct answer."
This was discussed in Filtering on More than One Condition.
Miguel Nunez
3,266 PointsI did but it said its wrong still I put it with quotes and with out quotes i'm lost now again.
Terri Valentine
23,034 PointsThe correct answer is or without any quotation marks.