MySQL update statement tests.
This commit is contained in:
parent
a46e8c1c51
commit
7660bdd8b5
12 changed files with 406 additions and 115 deletions
|
|
@ -138,4 +138,18 @@ CREATE TABLE IF NOT EXISTS test_sample.link (
|
|||
);
|
||||
|
||||
INSERT INTO test_sample.link (ID, url, name, description) VALUES
|
||||
(0, 'http://www.youtube.com', 'Youtube' , '');
|
||||
|
||||
-- Link2 table --------------------
|
||||
|
||||
DROP TABLE IF EXISTS test_sample.link2;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS test_sample.link2 (
|
||||
id int PRIMARY KEY AUTO_INCREMENT,
|
||||
url VARCHAR (255) NOT NULL,
|
||||
name VARCHAR (255) NOT NULL,
|
||||
description VARCHAR (255)
|
||||
);
|
||||
|
||||
INSERT INTO test_sample.link2 (ID, url, name, description) VALUES
|
||||
(0, 'http://www.youtube.com', 'Youtube' , '');
|
||||
Loading…
Add table
Add a link
Reference in a new issue