I have a table with several rows, for each of them I need to know the most common value.
Example:
row_1 has
car
boat
car
car
truck
truck
plane
car
car
as its values.
I need to know what is the most common value (in this case car). I have several ideas, but since I must do this for the 30 rows I would like an easy and not CPU intensive query.