From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: PostgResql SQL Mailing List <pgsql-sql@postgresql.org>
Subject: using output of a subselect in LIKE/ILIKE
Date: Thu, 11 Apr 2002 19:34:28 +0530
Message-ID: <3CB597EC.6AE67F76@trade-india.com> (raw)
Hi folks,
I need to do something like :
SELECT branch from branches
where outstation like
SELECT city from users join personal_account_details
using(userid) where email='ratans@cal.vsnl.com'
The above does not work for obvious reasons , but can anyone help me
with the right SQL?
regds
Rajesh Kumar Mallah.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mallah@trade-india.com
Subject: Re: using output of a subselect in LIKE/ILIKE
In-Reply-To: <3CB597EC.6AE67F76@trade-india.com>
* 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