Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

Re: Full outer join in query from same table

$
0
0

Hi Kishore,

 

If you combine the query into a single one, you will not get any data. Because, in a particular row, the metric key cannot be both 28 and 29.

for example the source record is

metric key measure

28               100

29                200

 

If you filter metric key as 28 and 29 then either of the rows will satisfy the filter condition and will not retrieve any data.

So i am not understanding what is the actual requirement.

Because of this reason only experts suggests not to use any where condition in the object definition (as a best practice to avoid these kind of situations)


Viewing all articles
Browse latest Browse all 2067

Trending Articles



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