I'm trying to rename the first and only column generated by the function UNNEST(GENERATE_ARRAY(0,5,1)) so it can be used in a JOIN.
I've tried the solutions detailed in this article but it seems that STANDARD SQL doesn't support these kind of aliases: https://modern-sql.com/use-case/naming-unnamed-columns
mark accepted answerby using the tick on the left of the posted answer, below the voting. See meta.stackexchange.com/questions/5234/… for why it is important! Also important tovote on answer. Vote up answers that are helpful. ... You can check about what to do when someone answers your question - stackoverflow.com/help/someone-answers. Following these simple rules you increase your own reputation score and at the same time you keep us motivated to answer your questions :o) please consider! - Mikhail Berlyant