Selecting data for a given condition in an SQL Statement

前端 未结 0 835
南方客
南方客 2021-01-17 09:45

I need help with the following code:

SELECT p1.Country, 
CASE WHEN COUNT(ArrivalsDelay) > COUNT(DeparturesDelay) THEN COUNT(ArrivalsDelay) 
ELSE COUNT(Depa         


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