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

Chris Seale
Chris Seale
24,718 Points

Think there may be a bug.

I think this is correct basically as it mirrors the previous example in the video. But it's not letting it pass.

SELECT Name FROM Fruit WHERE Name < "l" UNION SELECT Name FROM Vegetable WHERE Name < "l" ORDER BY Name ASC;

1 Answer

Steven Parker
Steven Parker
231,140 Points

Your code reminds me of a challenge that said: "Create a list of all fruits and vegetables starting with the letters A through K".

If that's the one you're working on, you just need to compare to "L" instead of "I".

Otherwise, please post the link to the challenge so we can see just what the instructions are.