Alternative Answer Using Case
I started learning the 'case' statement, and I just couldn't not come back and rewrite this ̶u̶g̶l̶y̶ overcomplicated query XD
Could this query be less efficient though?
1 answers ( 0 marked as helpful)
Hi A V!
Thanks for reaching out.
This query also solves the task, but the idea is to use subqueries.
Hope this helps.
Best,
Tsvetelin