|
table a,b,c
a column da,name in the table
b column in table da,acc
c column acc,je
Among them, column da of table a = column da of table b
acc column of table b = acc column of table c
Want now
a.da,a.name ,sum(c.je) such a result
Such as
001 three 100
002 Li Si 87
003 King Five 94
...
...
...
Please expert advice. How to write this sql
Thank you. |
|