how do i write a query to retrieve a pattern of exactly five letters. I have this question to answer : List all the Customer name whose names are formed by exactly 5 letters. The query i wrote is like this :
SELECT ContactName
From Customers
WHERE ContactName LIKE '[A-Z][A-Z][A-Z][A-Z][A-Z]'
Thank you