Code:
SELECT lname
FROM member
WHERE REGEXP_LIKE(email, lname||'@.+')
This selects all records where the email is the surname followed by '@' followed by any number of any characters (must have at least one).
Thread profile page for "Regular Expressions Help" on http://www.codeguru.com.
This report page is a snippet summary view from a single thread "Regular Expressions Help", located on the Message Board at http://www.codeguru.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||