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

Problems with UNION ALL

I am working on the first task of the 'Set Operations Practice' set. I need to create a list of all books in both the north and south locations. I am running the following query:

SELECT * FROM books_north UNION ALL SELECT * FROM books_south;

My results are only returning the books from the 'books_south' database. I've tried varying combinations and this was the query suggested online, but it doesn't seem to be returning the right results. Please let me know where I am going wrong here. Thank you.