How to write a delete query after checking?

Description:-perform a delete SQL query after checking whether the record is present or not.anyone can use this method to perform other query operations. Example:- user_iduser_nameuser_email1Arunarun123@gmail.com2Sujansujan123@gmail.com3Rohitrohit123@gmail.com…