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 trialJonatan Spahn
6,362 PointsSQL exchange ratae problem
Not sure what I'm doing wrong, could be my formula for exchange rate. I thought if your going USD to GDP you would / 1.4 or * .71 but neither works. Thanks in advance for the help.
Jonatan Spahn
6,362 PointsYea it was a code challenge. I don't know why it didn't work the first time, but after I just came back to it and it worked. The code was as follows:
SELECT * name, ROUND(price / 1.4,2) AS price_gdp FROM products;
Steven Parker
231,271 PointsPerhaps the exchange rate was not correct before, it changes all the time.
I'm just joking. But congrats on completing the challenge.
But for future questions, be sure to post your code and a link to the course or challenge page.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsWhat's this about? Is this a code challenge?