Last answered:

06 Feb 2023

Posted on:

05 Feb 2023

0

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)
Instructor
Posted on:

06 Feb 2023

0

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

Submit an answer