Reputation: 11
I want to make a query in MySQL that counts the number of appearances of a character in specific field
for example:
Class | ID
============================
d |1
c;g;i;m |2
r;e |3
final resault should be:
Class | ID | NumOf; (to be added)
==========================================================
d |1 | 0
c;g;i;m |2 | 3
r;e |3 | 1
thank you!
Upvotes: 0
Views: 267