find a string contained in an attribute

Поиск
Список
Период
Сортировка
От Karina Guardado
Тема find a string contained in an attribute
Дата
Msg-id 4a92b0c31003241420r7071cd7arb3d7fcee5915ccdc@mail.gmail.com
обсуждение исходный текст
Ответы Re: find a string contained in an attribute  (Szymon Guz <mabewlun@gmail.com>)
Список pgsql-general
Hi,

I want to know if it is possible to search for a string of characters inside an attribute for example I have the following table and values

cod_unidad |                 nombre_uni                 
------------+---------------------------------------------
          1 | Facultad de Ciencias Naturales y Matemática
          2 | Facultad de Ciencias Humanidades
          3 | Facultad de Ingeniería
          4 | Facultad de Agronomía
          5 | Oficinas Centrales
          6 | test


I want to retrieve all the rows where I find the word Ciencias for example. Is there a function or with select is possible to do it?

thanks in advance,

karina
El Salvador, Centroamerica
#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}

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

Предыдущее
От: Paul Ramsey
Дата:
Сообщение: Re: Large index operation crashes postgres
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: find a string contained in an attribute