Skip to main content
Modify existing records using the UPDATE operation.

Basic Syntax

Update Single Field

Update Multiple Fields

Update with Conditions

Bulk Update

Update multiple records matching condition.

Update with IN

Set to NULL

Increment Values

Decrement Values

Using Functions

Complete Examples

Soft Delete

Deactivate Inactive Users

Update Order Status

Price Adjustment

Increases all electronics prices by 10%.

Warning

Always include a WHERE clause to avoid updating all records accidentally.

Next Steps

Delete Data

Remove records

Transactions

Group operations