Extended mysql delete example