How can I count total no. of $ signs present in a table? Simple select query will not work in this case. How should I edit my select query to count string occurrences across multiple columns in a table.
c1 | c2 | c3 | c4 | c5| $ | | | $ | | | $ | $ | $ | | | | | | | $ | | | | |
($ signs are present randomly in the table in any column) I tried to get the count through regex but it always return no. of rows in which $ is present, not the number of $.