Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT Username, RIGHT(Email, charindex('@', reverse(Email))-1) AS [Email Provider]
- FROM Users
- ORDER BY [Email Provider], Username;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement