Cognizant SQL Interview Question | Extract the Domain from the Email Column in Employee Table

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 4

  • @monasanthosh9208
    @monasanthosh9208 3 месяца назад +1

    Select *,concat(replace(Name," ","."),"@",domins) as email from domin;

  • @rohitconnect
    @rohitconnect 3 месяца назад +1

    RIGHT(email,(len(email)-locate('@',domain))) should this work as well?
    i dont have Sever to test