Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 2.09 » View Incident Report |
Serious |
Reported By: José Eduardo Helminsky Reported On: 4/26/2001 For: Version 2.08 Build 1 |
Table A Code Name 1 John 2 Mary 3 Michael 4 Tom Table B OtherCode Description N1 N2 N3 1 Enginner 1 3 2 Developer 2 3 When I use: SELECT Code, Name, Count(*) from A left outer join B on (Code = B.N1) or (Code = B.N2) or (Code = B.N3) group by cod It will result in: Code Name Count(*) 1 John 1 2 Mary 1 3 Michael 2 // One from field N2 from Othercode=1 and other from N3 from OtherCode=3 4 Tom 0 <- This is what I want. There is no record found in table B to relate with A but it does not appear in the results
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |