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

Re: How to merge 3 queries without a common dimension?

$
0
0

I will try to explain more fully what I am trying to do.

 

I am trying to build a report as an audit check on the daily interest calculation of bank accounts.

 

I have three primary data providers. There are more, but I don't think that matters at this point.

 

Calendar - a date for every day within a range of dates

 

Transactions - transactions for selected account within the same range of dates as the Calendar

 

Interest Plan -   interest plan details

 

I have created a SQL script to illustrate this here...

 

SQL Fiddle

 

Noel


Viewing all articles
Browse latest Browse all 8451

Trending Articles



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