Search Header Logo
SQL UPDATE Statement

SQL UPDATE Statement

Assessment

Presentation

Computers

University

Hard

Created by

Kittisay SENGTHONG

FREE Resource

4 Slides • 0 Questions

1

SQL UPDATE Statement

ຄຳສັ່ງ ແກ້ໄຂ SQL

Slide image

2

The SQL UPDATE Statement

The UPDATE statement is used to modify the existing records in a table.

Slide image

3

UPDATE Syntax

Note: Be careful when updating records in a table! Notice the WHERE clause in the UPDATE statement. The WHERE clause specifies which record(s) that should be updated. If you omit the WHERE clause, all records in the table will be updated!

Slide image

4

UPDATE Multiple Records

It is the WHERE clause that determines how many records will be updated.

The following SQL statement will update the Contactname to "Juan" for all records where country is "Mexico":

Slide image

SQL UPDATE Statement

ຄຳສັ່ງ ແກ້ໄຂ SQL

Slide image

Show answer

Auto Play

Slide 1 / 4

SLIDE