Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

tzehuilee
19,911 PointsTable product_sizes doesn't exist when selecting the product_sku, size_id in phpmyadmin
So I copy, paste, and execute the SQL script that created the two tables product_sizes and sizes. I selected my database under name mikeshirts and it physically revealed the tables. In the course, I tried to ran the script:
SELECT product_sku, size_id FROM product_sizes WHERE product_sku = 108
All I received is an error stating that:
1146 - Table 'mikeshirts.product_sizes' doesn't exist.
What's strange the product_sizes table has already existed and I could actually browse and see the structure in phpmyadmin.
2 Answers

Jacob Horvat
13,649 PointsAre you sure it's product_sizes and not products_sizes?

shezazr
8,275 Pointsmaybe you created it under a different database? is this on treehouse or locally? either way try creating it again..

tzehuilee
19,911 PointsI rename the original database from "shirts4mike" to "mikeshirts". It's on my computer by the way.