A big request to help with the following task, there are lines like: "0000 --- 111 --- 222000001234567890" "0012345678900001" "" that is, the lines consist of numbers from 0 to 9 and the character "-" It is necessary to count in each line the maximum number of consecutive characters 0 That is, in the first line the answer is: 5 in the second 4 ...
I only work with sql for a month .... I can't do it. thank you in advance!