In a SQLAnywhere 11 database, I have a string field called "domain" that contains data that looks like:
stats.ebay.com
103814.agchurges.org
I need to query the table to retrieve the domains but also filter it so that any subdomains are removed.
ebay.com
agchurges.org