Posted by m.bohse on 04/12/06 12:22
If your prefix is always "CON_" then this should work SELECT Replace(country, 'CON_',''), COUNT(Replace(country, 'CON_','')) from myTable Group by Replace(country, 'CON_','') Markus
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming