|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi, I have this (simplified) query :
SELECT (select count(*) from titresupport s2 where s2.idsupport=s.id) as tottitres FROM castings c JOIN supports s ON (c.idsupport=s.id) JOIN ventes v ON (v.idsupport=s.id) JOIN distributeurs d ON (d.iddistributeur=v.iddistributeur) LEFT JOIN canauxvente k1 ON (k1.idcontrat=c.idcontrat AND k1.id_pays=v.id_pays AND k1.idtypedistributeur=d.idtypedistributeur) WHERE c.idcontrat=:idcontrat But EM/NxServer complain on "unable to resolve the identifier "s"."id" Now, if I remove the "LEFT JOIN" line it works. Why ? This is with NXServer 2.0599r2 I post the data to binary. |
|
#2
|
|||
|
|||
|
> Now, if I remove the "LEFT JOIN" line it works. Why ?
Bug. Most likely same/similar to 2255. Issue# 2258 -- Hannes Danzl [NexusDB Developer] Newsgroup archive at http://www.tamaracka.com/search.htm |
|
#3
|
|||
|
|||
|
Hannes Danzl[NDD] a écrit :
>> Now, if I remove the "LEFT JOIN" line it works. Why ? > > Bug. Most likely same/similar to 2255. Issue# 2258 Thanks. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LEFT OUTER JOINS | Dennis Landi | nexusdb.public.support.sql | 20 | 8th April 2006 01:05 AM |
| Discussion: Optimization of outer joins | Ole Willy Tuv | nexusdb.public.support.sql | 27 | 18th February 2006 10:24 AM |
| Joins in different ways | Anders Gustavsson | nexusdb.public.support.sql | 6 | 13th July 2005 07:01 PM |
| Re: Support for heterogeneous joins or workaround | Jan-Erik Johansen | nexusdb.public.support.sql | 0 | 30th March 2004 10:11 AM |
| Two LEFT JOINS in one SELECT | Jens Burmester | nexusdb.public.support.sql | 6 | 10th October 2003 01:00 AM |