• Why not use MIN

    SELECT AccountName,MIN(INVOICE_DATE) AS [INVOICE_DATE]

    FROM

    GROUP BY AccountName

    Far away is close at hand in the images of elsewhere.
    Anon.