It is not clear to me how can you refer to the exploded column in the same subquery, and I am not sure what to search for to get more explanation.
SELECT expl