-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improve]: add init.sql, update test
- Loading branch information
1 parent
e960864
commit 2ada54b
Showing
2 changed files
with
57 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE DATABASE IF NOT EXISTS test; | ||
USE test; | ||
|
||
CREATE TABLE IF NOT EXISTS staff | ||
( | ||
id INT AUTO_INCREMENT PRIMARY KEY, | ||
name VARCHAR(50) | ||
); | ||
|
||
INSERT INTO staff (name) VALUES ('Bruce'); | ||
INSERT INTO staff (name) VALUES ('Jack'); | ||
INSERT INTO staff (name) VALUES ('Tom'); |