GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

SQL- Edit

Caitlin Bergan-Gander Computer Science GCSE Englisch 1 Seite

Inhalt der Notizen (1)

Seite 1

SQL – Edit

Using SQL to change data on a database

• We

need the keywords ‘UPDATE’, ‘SET’ and ‘WHERE’

UPDATE TableName

SET field1=value,

field2=value…

WHERE fieldX=value

Example

• Using

the PetsAndOwners database:

• We

can change the surname of the person called John Smith to Jones:

UPDATE

tblOwners

SET LName =

'Jones'

WHERE FName =

'John' AND LName = 'Smith';

Informationen

Beschreibung
GCSE Computer Science (Databases) Notiz am SQL- Edit, erstellt von Caitlin Bergan-Gander am 22/02/2016.
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck