how to use Analytic functions instead of join with itself

后端 未结 0 710
野的像风
野的像风 2021-01-25 13:08

i want to find the credit/debit side of a transaction in a table like this.

with t1 as
(select 1 v, 11 t, 100 amnt from dual
 union
 select 1 v, 12 t, 200 amnt fr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题