Suppose we run a query with dynamic conditions, which was initiated from user input. And we want to delete some items.
Such as (just a random example):
DELETE FROM pictures
WHERE article = 10
AND id >= 12
AND id <= 25
AND user_privelege = 8
Is there any way to retrieve which exactly rows have been deleted?
No. You will need to select from the table using the exact same
WHEREclause beforehand.