13 lines
329 B
MySQL
13 lines
329 B
MySQL
|
INSERT INTO person (id, first_name, last_name, age)
|
||
|
VALUES (0, 'Frank', 'Smith', 100);
|
||
|
|
||
|
INSERT OR REPLACE INTO person (id, first_name, last_name, age)
|
||
|
VALUES (0, 'Frank', 'Smith', 100);
|
||
|
|
||
|
SELECT * FROM person;
|
||
|
|
||
|
REPLACE INTO person (id, first_name, last_name, age)
|
||
|
VALUES (0, 'Zed', 'Shaw', 37);
|
||
|
|
||
|
SELECT * FROM person;
|