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!
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
Table 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.
maybe you created it under a different database? is this on treehouse or locally? either way try creating it again..