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  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Mario Weilguni"
Дата:
Сообщение: Re: union and limit
Следующее
От: Thirumoorthy Bhuvneswari
Дата:
Сообщение: Cast Type