I have a table in SQL. I have a column named CarMakes
, it has the following contents:
Mercedes, BMW
Range Rover
Mazda, Toyota, Honda
I want to know how to return a number of CarMakes
in each row.
Returned value should be 2, 1 and 3 respectively.