![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Wed, Mar 24 2010 4:57 PM | Permanent Link |
Jianfei Xu | Hi,
the laterst version, the following query not return the correct data: Select A.Code As A,B.Code As B, C.Code As C FROM TESTA A INNER JOIN TESTB B ON (A.Code=B.Code) LEFT JOIN TESTC C ON (A.Code=C.Code) AND (B.JOB=C.JOB) looks like join clause not allow to join with more than one table, if I mover join to where clause, it returns correct data: Select A.Code As A,B.Code As B, C.Code As C FROM TESTA A INNER JOIN TESTB B ON (A.Code=B.Code) LEFT JOIN TESTC C ON (A.Code=C.Code) WHERE (B.JOB=C.JOB) Jianfei |
Thu, Mar 25 2010 3:01 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Jianfei,
<< the laterst version, the following query not return the correct data: Select A.Code As A,B.Code As B, C.Code As C FROM TESTA A INNER JOIN TESTB B ON (A.Code=B.Code) LEFT JOIN TESTC C ON (A.Code=C.Code) AND (B.JOB=C.JOB) >> Please send me the data that you're using. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |