pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leslie Mikesell <les@Mcs.Net>
To: pgsql-sql@postgreSQL.org
Subject: text concat in WHERE?
Date: Fri, 5 Jun 1998 18:10:57 -0500 (CDT)
Message-ID: <199806052310.SAA24926@Venus.mcs.net> (raw)

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@mcs.com



view thread (2+ messages)  latest in thread

Message-ID: <199806052310.SAA24926@Venus.mcs.net>
Permalink:  ../199806052310.SAA24926@Venus.mcs.net/
Also on:    postgresql.org/message-id/199806052310.SAA24926@Venus.mcs.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: les@Mcs.Net
  Subject: Re: text concat in WHERE?
  In-Reply-To: <199806052310.SAA24926@Venus.mcs.net>
  References: <199806052310.SAA24926@Venus.mcs.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox