the result is i am getting is
cuatomer name | due amount
---------------------------------------
user 1 | 21
user1 |24
user 1| 26
uerr 2| 23
customer details stored in customer table and due amount is stored in invoice, invoice also stores a foreign key customer no which is primary key in customer
please use normal sql query(sub queries, views joins, aggregations etc)
the resukt i am looking for
user1 |71
user 2| 23
thanq