How can I return the SECOND GREATEST value in Google BigQuery

后端 未结 0 572
无人共我
无人共我 2020-12-24 04:53

I have a CASE statement within an ON clause:

ON A.month = CASE WHEN (B.month = GREATEST(B.month)) 
             THEN B.month - 1  
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题