There is no need for the sub-query. You could just do this
Code:
SELECT Distinct AccountNo FROM Customers WHERE Name LIKE 'a%'