The Castle Inventory
Lesson 1 of 3 in Coddy's SQL Challenges pack #2 course.
Challenge
MediumTo build a castle the builder needs to have many tools. It is difficult to understand which tools he should use and in which order to use them. For that, we will extract the important information and help the builder create his castle.
Return the name, difficulty and the accumulating sum of the difficulty ordered by the difficulty in ascending order. Call this column tot_until_now
Try it yourself