Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

sum of amout for the date falling in the respective month i.e months wise sum amount is required - forum topic by peiter65

$
0
0

i have 1  table where we have amount column and calender date column with date.
other table with sales where i have order date when order is received ffrom customer.
 
Sum of of amount  for which the order Date is in between the last day and 1st day of that oder date.
for example we have 5 order date for current month then sum amount of 5 is needed.
same for the 6 order date in oct month then  sum amount of 6 is needed.
same for other month too/

thanks in advance

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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