Skip to content
Advertisement

Subquery – define select list. The subquery returns the same value for each result line

do you know what I have done wrong? My subquery is returining the same value for all lines.

enter image description here

Thanks a lot in advance for your any advice! 🙂

Advertisement

Answer

I think you just want conditional aggregation:

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement