What you need is a self-joinSELECT Payment.*, Charge.Service_Date_1FROM Billing_Detail as ChargeINNER JOIN Billing_Detail as PaymentON Charge.CustomerID = Payment.CustomerID --whatever key you have that identify this accountWHERE Payment.Sub_Item=2 --find only those equal to 2AND Charge.Sub_Item=0 --charge are those with 0
Your question mentioned only read "row with sub item 2" but if you need it for both 2 & 3, just change WHERE Payment.Sub_Item=2
to WHERE Payment.Sub_Item in (2,3)
Ray Dai