Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Sql: *JoinRef
Re: Sql: *JoinRef [message #34976 is a reply to message #34975] Fri, 23 December 2011 08:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
To replace "in" (nested select), you have to use normal InnerJoin, not LeftJoin.

I suppose that this should work:

Select(myData.Of(TABLE_A)).From(TABLE_A)
.InnerJoinRef(TABLE_B).On(AGE.Of(TABLE_B) == xxxxxx).Where(A_REF_C.Of(TABLE_A) == yyyyyy);


Here I expect yyyyyy to be single value, not to represent another "in"...

[Updated on: Fri, 23 December 2011 08:48]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Settings and multiple ide instances
Next Topic: DataSource
Goto Forum:
  


Current Time: Mon Jun 17 03:31:49 CEST 2024

Total time taken to generate the page: 0.01162 seconds