LittleSam
2007-02-09 13:31:21 UTC
Hi,
I have a very basic question but I havent found answer to it anywhere.
I have a table that has following columns: date, answer1, answer2,
answer3, answer4
and entry: 2007-1-1, 'a', 'b', 'a', 'c'
What I want to do is count number of character "a":s as an answer.
Normally (if using COUNT, MATCH..AGAINST) mysql returns rows it finds.
I want to find out how many times this character "a" appears in a
record.
What to do? Thanks for helping.
Br,
Sam
I have a very basic question but I havent found answer to it anywhere.
I have a table that has following columns: date, answer1, answer2,
answer3, answer4
and entry: 2007-1-1, 'a', 'b', 'a', 'c'
What I want to do is count number of character "a":s as an answer.
Normally (if using COUNT, MATCH..AGAINST) mysql returns rows it finds.
I want to find out how many times this character "a" appears in a
record.
What to do? Thanks for helping.
Br,
Sam