Is it possible to write a "SINGLE QUERY", by which i can delete row by id and get the name of deleted row. For example: I have a table
id | Name
------------
1 | ABC
2 | DEF
3 | GIH
4 | JKL
Edit: My question is not duplicate of this. I am again mentioning, I am trying to write "SINGLE QUERY".