I got a table named tbl_requests and tbl_friends, I know the query on how to SELECT a certain row from tbl_requests and INSERT it into tbl_friends by ID.
My problem now is how can I delete the row from tbl_requests automatically after selecting it and inserting it to tbl_friends.
Here is my query in SELECT from tbl_requests and INSERT to tbl_friends:
INSERT INTO tbl_friends
SELECT *
FROM tbl_requests
WHERE ID = 1
What will I add so that the row from tbl_requests will be deleted?