Select MONTHNAME(Date) as date, SpecificMonthBal
from bank_pl_ytds where date in ( select Max(Date) from bank_pl_ytds where date BETWEEN $FromDate and $ToDate and LineNo='9995' and BranchCode='$BranchCode' group by month(Date)) and date BETWEEN $FromDate and $ToDate and LineNo = '9995' and BranchCode = '$BranchCode'
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire