text concat in WHERE?

From: Leslie Mikesell <les(at)Mcs(dot)Net>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: text concat in WHERE?
Date: 1998-06-05 23:10:57
Message-ID: 199806052310.SAA24926@Venus.mcs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Should I be able to:
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(at)mcs(dot)com

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Marc Howard Zuckman 1998-06-05 23:42:21 Need help understanding unique indices
Previous Message Chris Olivier 1998-06-04 23:24:03 (no subject)