I have database table with the follwoing fields:
id, loan_no, installment, status
which has loan information like
if a loan has 24 installments there will be 24 rows which contains same loan_no and installment status which is paid or unpiad.
So I want to get the loan_no’s which has all installments status = paid.
Is it possible to write a one query to get result?
Try this: