trying to pattern match to a value contained in a column

Поиск
Список
Период
Сортировка
Искать
От
Beth Gatewood
Тема
trying to pattern match to a value contained in a column
Дата
Msg-id
3A2FFBB4.7B5156DA@mbt.washington.edu
Список
Дерево обсуждения
Re: trying to pattern match to a value contained in a column Beth Gatewood <bethg@mbt.washington.edu>
Re: trying to pattern match to a value contained in a column "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: trying to pattern match to a value contained in a column Tom Lane <tgl@sss.pgh.pa.us>
Re: trying to pattern match to a value contained in a column Bruce Momjian <pgman@candle.pha.pa.us>
Re: trying to pattern match to a value contained in a column "Joel Burton" <jburton@scw.org>
Hi-

I can't figure out how to do this....

I examine a table where I think that one attribute is an abbreviation of
another attribute.

So-If I had a table where I had LONG_NAME and ABBR as attributes.

I want something like

SELECT whatever FROM my_table WHERE long_name LIKE '%[the value of ABBR
in that row]%';


Of course this doesn't work...

Any thoughts?

Thanks-
Beth



В списке pgsql-sql по дате отправления
От:
Дата:
Сообщение: pltcl problem
От: Francis Solomon
Дата:
FAQ