Snapp (Iran) interview question

easy sql update leetcode exercise