Re: [GENERAL] Coditional join of query using PostgreSQL

2017-05-15 Thread Nick Dro
This is a join in a middle of query. How can I use dynamic SQL in the middle of query?ב מאי 15, 2017 20:26, David G. Johnston כתב:On Mon, May 15, 2017 at 10:02 AM, Nick Dro wrote: Hi, I'm new to postgresql and couldn't find answer to this situation anywhere. I asked this

Re: [GENERAL] Coditional join of query using PostgreSQL

2017-05-15 Thread Alban Hertroys
> On 15 May 2017, at 19:02, Nick Dro wrote: > > Hi, > I'm new to postgresql and couldn't find answer to this situation anywhere. > I asked this here: > http://stackoverflow.com/questions/43984208/coditional-join-of-query-using-postgresql > > I hope there is a better

Re: [GENERAL] Coditional join of query using PostgreSQL

2017-05-15 Thread Jack
This is a join in a middle of query. How can I do such thing? -- View this message in context: http://www.postgresql-archive.org/Coditional-join-of-query-using-PostgreSQL-tp5961718p5961726.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general

Re: [GENERAL] Coditional join of query using PostgreSQL

2017-05-15 Thread David G. Johnston
On Mon, May 15, 2017 at 10:02 AM, Nick Dro wrote: > Hi, > I'm new to postgresql and couldn't find answer to this situation anywhere. > I asked this here: > http://stackoverflow.com/questions/43984208/coditional- > join-of-query-using-postgresql > > I hope there is a

[GENERAL] Coditional join of query using PostgreSQL

2017-05-15 Thread Nick Dro
Hi, I'm new to postgresql and couldn't find answer to this situation anywhere. I asked this here: http://stackoverflow.com/questions/43984208/coditional-join-of-query-using-postgresqlI hope there is a better solution rather than creating two separated functions :(