alternative solution same results . Is it valid?
Thanks for reaching out.
Yes, this is a valid solution. The structure of the query is not recommended as there are a lot of subqueries. This makes the performance slower. Anyway, congratulations to the alternative solution!
Hope this helps.