We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I have a little bit problem with this one, I don't know why it have the wrong answer. Can someone can explain my issue.
My code:
SELECT id, age, coins_needed, power
from wands
inner join Wands_Property on wands.code = wands_property.code
where is_evil = 0
order by power desc, age desc, coins_needed asc
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Ollivander's Inventory
You are viewing a single comment's thread. Return to all comments →
I have a little bit problem with this one, I don't know why it have the wrong answer. Can someone can explain my issue. My code:
SELECT id, age, coins_needed, power from wands inner join Wands_Property on wands.code = wands_property.code where is_evil = 0 order by power desc, age desc, coins_needed asc