User-664207211 posted
i want to update top 2 records for following condition
i have table 'Guarantors' with fields AcNo, AcType, GuarantorDate, Status.
This table contains multiple records for these columns.
i want to update status for top 2 maximum GuarantorDate for group of AcNo and AcType.
Following is my group SQl
select acno,actype,count(AcNo)
from Guarantors
group
by AcNo,AcType