Home » SQL & PL/SQL » SQL & PL/SQL » Running settlement of inward vs outward quantity (Oracle 11g)
Running settlement of inward vs outward quantity [message #671249] Mon, 20 August 2018 01:23 Go to previous message
chintan.patel
Messages: 162
Registered: July 2008
Location: Ahmedabad
Senior Member
Hello friends,

I have some inward and outward data which i would like compare and print side by side. I do not have any relation between inward and outward, i need to distribute on the basis of quantity. Is there any function or formula to get below output.

-------------------------------------------------------------------------------------
                 Inward                  |                       Outward
-------------------------------------------------------------------------------------
INW_No	        INW_Date	Qty	 |	OUT_No	        OUT_Date	Qty
-------------------------------------------------------------------------------------
INW/1	      01/07/2018	1000	 |	OUT/1	      01/07/2018	500
				         |      OUT/2	      01/07/2018	500
-------------------------------------------------------------------------------------
INW/2	      01/07/2018	500	 |	OUT/2	      01/07/2018	250
				         |      OUT/3	      01/07/2018	250
-------------------------------------------------------------------------------------

Thank you,
Chintan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Relation between two gold
Next Topic: consistency constraint ON store Procedure
Goto Forum:
  


Current Time: Tue May 07 21:20:55 CDT 2024