how to count string occurrence in column

Поиск
Список
Период
Сортировка
От Ben-Nes Michael
Тема how to count string occurrence in column
Дата
Msg-id 006b01c24dad$8e34c860$aa0f5ac2@canaan.co.il
обсуждение исходный текст
Ответы Re: how to count string occurrence in column
Список pgsql-general
Hi All


How can i count how many time a string 'hello' appear in a column.

for example.

select *, count_num_of_string(column, 'hello') from table;

Cheer


В списке pgsql-general по дате отправления: