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 trial

Databases

Set Operator Challenge 2 of 6

So it wants me to get both fruits and vegetables from to different tables that start with A-K and it's telling me my querie did'nt bring back the right information, Would any of you guys know what I did wrong

Steven Parker
Steven Parker
231,236 Points

Please show your query to make it possible to give you an answer. It would also be helpful to provide a link to the course page you are working with.

2 Answers

Nate Paul
Nate Paul
11,885 Points

SELECT name FROM Fruit WHERE name BETWEEN 'A' AND 'L' UNION SELECT name FROM Vegetable WHERE Name BETWEEN 'A' AND 'L';

Steven Parker
Steven Parker
231,236 Points

Can you also provide a link to the course page?

Nate Paul
Nate Paul
11,885 Points

I figured it out Thanks

Steven Parker
Steven Parker
231,236 Points

Congrats! Perhaps you would post an explanation for the benefit of other students experiencing a similar issue.