Salesforce interview question

how you delete or update only using select and insert