Subject | Re: [ib-support] Using LIKE with a subquery |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2002-06-26T05:41:56Z |
On 25 Jun 2002 at 21:02, Stevio wrote:
Table WHERE 'a conditional is satisfied')"?
The only problem is: subquery has to be a singleton-select i.e.
return only one record.
SY, Dimitry Sibiryakov.
>basically says LIKE WHAT IS IN this subquery.Have you ever tried "Some_field LIKE (SELECT Other_field||'%' FROM
>
>e.g. if the subquery returns "foot", I then want SQL to say LIKE
>'%foot%'.
Table WHERE 'a conditional is satisfied')"?
The only problem is: subquery has to be a singleton-select i.e.
return only one record.
SY, Dimitry Sibiryakov.