Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Query Help

$
0
0

I am hoping someone can help me understand why I am not getting the correct SQL join.

 

I have the following set up:

Table_1 Outer Join Table_2  1,n

Table_2 Outer Join Table_3  n,1

Table_2 Outer Join Table_4  n,1

Table_2 Outer Join Table_5  n,1

 

When I go an build a query choosing 1 field from tables 1, 3, 4, and 5.  I would expect all of the tables to be joined like the following:

Table_1 LEFT OUTER JOIN Table_2

LEFT OUTER JOIN Table_3

LEFT OUTER JOIN Table_4

LEFT OUTER JOIN Table_5


Instead I am getting the following:

Table_3 RIGHT OUTER JOIN Table_2

LEFT OUTER JOIN Table_5

RIGHT OUTER JOIN Table_1

LEFT OUTER JOIN Table_4


Because of this RIGHT, LEFT, RIGHT, LEFT I am not getting all of the data I would expect on my report.  I have tried altering the cardinality, but that has not helped me any.


This is coming from the Information Design Tool 4.1 SP6.


Thanks



Viewing all articles
Browse latest Browse all 1291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>