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

Adam Greenough
Adam Greenough
7,742 Points

"You didn't select all columns" – SQL Basics

Forgive me if I'm just being dumb but how is this not all columns on these 2 SQL basics code challenges?

http://imgur.com/a/nrLtA

skanderben
skanderben
3,331 Points

yeah you select all columns, but they expect a wildcard to select the columns. In every case when you want to select all columns, use the " * " wildcard:

SELECT * FROM ...

Adam Greenough
Adam Greenough
7,742 Points

Ahh brain fart thank you skanderben! That's done the trick. :-)

1 Answer

Use ''' SELECT * FROM tablename '''