Re: [SQL] text concat in WHERE?

Поиск
Список
Период
Сортировка
От Jose' Soares Da Silva
Тема Re: [SQL] text concat in WHERE?
Дата
Msg-id Pine.LNX.3.96.980609155815.3621B-100000@proxy.bazzanese.com
обсуждение исходный текст
Ответ на text concat in WHERE?  (Leslie Mikesell <les@Mcs.Net>)
Список pgsql-sql
On Fri, 5 Jun 1998, Leslie Mikesell wrote:

> Should I be able to:
>    SELECT *  from t1, t2
>      WHERE t1.a || ' ' || t2.b = t2.c;
>
Try this:
SELECT *  from t1, t2
   WHERE (t1.a || ' ') || t2.b = t2.c;

> In other words, combine two fields from one table and a constant space
> for the join with a single field in the other table?
>
>   Les Mikesell
>     les@mcs.com

                                                            Ciao, Jose'


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

Предыдущее
От: "Jose' Soares Da Silva"
Дата:
Сообщение: Re: [SQL] querying array
Следующее
От: Petter Reinholdtsen
Дата:
Сообщение: Problems with default date 'now'