Hi
How to change this Sql Query any one solve this i have attached 3 Jpg
1.File1-> Table-I.JPG
2.File2->Table-II.JPG
3.File2->MyQueryOutputThis.JPG
below my Query but this is not correct My Query show last image file
======================================================================
Select Distinct StdStandard,Count(*)as Cnt1,StdRegisterNo from Tbl_Students TBS left join Tbl_StdFeeAllocation TBF on
TBF.StdRegisterNo= TBS.StdRegNo group by StdStandard,StdRegisterNo
But i need below output
=========================
Standard CountStudentFeePaid CountStudentFeeNotPaid
I 3 0
II 0 1
III 3 1
IV 1 0
V 1 0
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com