I saw the block of SQL below in the article in this page:
select @empname = d.Emp_Name
from deleted d
How do you put something like @empname = d.Emp_Name in a SELECT statement?
What does it do? Is it another way of conditioning, instead of using WHERE clause?
Plus, it seems to be in SQL Server, but just to be sure, isn't it something that can be done in MySQL or some other DBMS?