Naqibullah
Registered User.
- Local time
- Tomorrow, 02:59
- Joined
- Feb 7, 2013
- Messages
- 86
Hello Friends Hope you all are doing well i have a bit problem in a query
i have groups and members tables in which each group is formed from no. of members, each member can take loan and will return this loan in a no. of installments so here my problem is when i run the query to retrieve no. of loans she has taken and no. of repayments she has given, this query retrieves same loan amount duplicate ...i want you to help me how to group by this query so that when i run this query it should only retrieves that no. of loans(no duplicate) she has taken and no. of repayments (no duplicate) she has given... for ur more information i attached the db here in this post
thanks in advance
i have groups and members tables in which each group is formed from no. of members, each member can take loan and will return this loan in a no. of installments so here my problem is when i run the query to retrieve no. of loans she has taken and no. of repayments she has given, this query retrieves same loan amount duplicate ...i want you to help me how to group by this query so that when i run this query it should only retrieves that no. of loans(no duplicate) she has taken and no. of repayments (no duplicate) she has given... for ur more information i attached the db here in this post
thanks in advance