IanWaterman
Programmer
I have a query
which returns
I would like to modify it to return
272407 "Co1 / co2 / c03 / c04 / c05" 5 LE
Whre 5 is a simple count
Thank you
Ian
Code:
Select Credit_Policy.Account_Id,
Insured_Associates.Company_Name,
Branch.Branch_Code
From ((Credit_Policy Left Outer Join Insured_Associates On Credit_Policy.Account_Id = Insured_Associates.Insured_Id)
Inner Join Business On Credit_Policy.Business_Id = Business.Business_Id)
Inner Join Branch On Business.Branch_Id = Branch.Branch_ID
Where Credit_Policy.Account_Id = 272407 --@InsuredId --
And Branch.Branch_Code = 'LE' --@inputBranch --
And Credit_Policy.Policy_Status In ('I', 'V')
which returns
Code:
272407 Co1 LE
272407 co2 LE
272407 co3 LE
272407 c04 LE
272407 co5 LE
I would like to modify it to return
272407 "Co1 / co2 / c03 / c04 / c05" 5 LE
Whre 5 is a simple count
Thank you
Ian