Re: SELECT returnig a constant - Mailing list pgsql-general

From Ray O'Donnell
Subject Re: SELECT returnig a constant
Date
Msg-id bf419783-8315-95cd-9ea1-504e2de50510@rodonnell.ie
Whole thread Raw
In response to SELECT returnig a constant  (stan <stanb@panix.com>)
List pgsql-general
On 15/10/2019 15:01, stan wrote:
> Thanks, as you can see from my SOLVED reply, I go that part figured out.
> Now I am trying to figure out how to complete this. The SELECT returns more
> than 1 row, and when I put that in the VALUES clause this does not work.

Please reply to the list, rather than to me - reply-all should do the 
trick. :-)

You're using cross-joins, which returns the cartesian product of the 
tables concerned, without any WHERE clause.... so if the tables are big 
you'll return a LOT of data.

Ray.

-- 
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie



pgsql-general by date:

Previous
From: David Gauthier
Date:
Subject: Securing records using linux grou permissions
Next
From: Michael Lewis
Date:
Subject: Re: Securing records using linux grou permissions