You are viewing a single comment's thread. Return to all comments →
SELECT w.id, wp.age, w.coins_needed, w.power FROM wands w INNER JOIN wands_property wp ON w.code = wp.code WHERE wp.is_evil = 0 AND w.coins_needed = ( SELECT MIN(coins_needed) FROM wands WHERE code = w.code AND power = w.power ) ORDER BY w.power DESC, wp.age DESC;
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 →