我在 oracle 数据库中有下表(简化):
productId  |  modelDescription 
         1 |             thing
         2 |     another thing
         3 |       not a thing
         4 |             thing
我想选择此表中出现次数最多的模型描述。问题是可能有几乎无限的模型描述。所以结果集应该是这样的:
modelDescription | appearance 
           thing |          2 
   another thing |          1 
             ... |        ...