forked from HamaWhiteGG/langchain-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SQL Chain for README.md and QuickStart
- Loading branch information
1 parent
71af523
commit 3afea76
Showing
4 changed files
with
65 additions
and
1 deletion.
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
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 @@ | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (1, 'Alex', 100, 'Alex did perfectly every day in the class.'); | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (2, 'Alice', 70, 'Alice needs a lot of improvements.'); | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (3, 'Jack', 75, 'Event it is not the best, Jack has already improved.'); | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (4, 'Ophelia', 0, 'Unfortunately, Ophelia missed the test.'); | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (5, 'Zack', 60, 'Zack needs to do better.'); | ||
INSERT INTO demo.students (id, name, score, teacher_note) VALUES (6, 'HamaWhite', 95, 'Keep going.'); | ||
|
||
INSERT INTO demo.parents (id, student_name, parent_name, parent_mobile) VALUES (1, 'Alex', 'Barry', '088121'); | ||
INSERT INTO demo.parents (id, student_name, parent_name, parent_mobile) VALUES (2, 'Alice', 'Jessica', '088122'); | ||
INSERT INTO demo.parents (id, student_name, parent_name, parent_mobile) VALUES (3, 'Jack', 'Simon', '088123'); | ||
INSERT INTO demo.parents (id, student_name, parent_name, parent_mobile) VALUES (5, 'Ophelia', 'Tracy', '088124'); | ||
INSERT INTO demo.parents (id, student_name, parent_name, parent_mobile) VALUES (6, 'HamaWhite', 'Harper', '088125'); |
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,20 @@ | ||
CREATE TABLE `students` | ||
( | ||
`id` int(11) DEFAULT NULL, | ||
`name` varchar(64) DEFAULT NULL, | ||
`score` int(11) DEFAULT NULL COMMENT 'math score', | ||
`teacher_note` varchar(256) DEFAULT NULL | ||
) COMMENT ='student score table'; | ||
|
||
|
||
CREATE TABLE `parents` | ||
( | ||
`id` int(11) DEFAULT NULL, | ||
`student_name` varchar(64) DEFAULT NULL, | ||
`parent_name` varchar(64) DEFAULT NULL, | ||
`parent_mobile` varchar(16) DEFAULT NULL | ||
); | ||
|
||
|
||
|
||
|