Re: Cross tables Like%

Поиск
Список
Период
Сортировка
От Viacheslav N Tararin
Тема Re: Cross tables Like%
Дата
Msg-id 3D7CAA92.4050605@dekasoft.com.ua
обсуждение исходный текст
Ответ на Cross tables Like%  (jasondavis19@hotmail.com (Jason Davis))
Список pgsql-sql
select products.*, manufactors.*
from products, manufactors
where products.manufactor_id=manufactors.manufactor_id
and ( products.product_description like 'param%' or 
manufactors.manufactor_description like 'param%');

regards

Jason Davis ?????:

>I have 2 tables, one is products and one is manufactors.
>
>The products table has a col. for Product_descriptions and manufactor_id
>column that is a foriegn key to the manufactors table.
>
>The manufactors table has a manfuactor_description column, for each unique
>Manufactor_id.
>
>I want to search (using like) on both tables (columns:
>Products.Product_description and Manufactors.Manufactor_description).
>
>Can anyone suggest a cross-table %Like% Query for it?
>
>Thanks!
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
>
>
>  
>





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

Предыдущее
От: Viacheslav N Tararin
Дата:
Сообщение: Re: new calculated column
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Character translation?