How to get all occurance of a string in clob data in MySQL -
i have 1 clob field 'class_data'
in table 'school'
, in clob
there 1 tag name '<fee-value>'
, want select occurrences of tag clob
data. used below query in mysql , select first occurrence of tag(there 12 occurrence of vallue)
select substr(class_data, instr(class_data,'fee-value'),30) school class='s013' , grade='a' , date ='20130301';
the value showing :
<fee-value>200</fee-value>
and there 11 more such kind of tags not shown please suggest how do?