浏览代码

part 3 completed

Elliott Stansbury 6 年前
父节点
当前提交
efac1f1826

二进制
.DS_Store 查看文件


+ 9
- 0
.idea/PokemonSqlLab.iml 查看文件

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 15
- 0
.idea/dataSources.local.xml 查看文件

@@ -0,0 +1,15 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="dataSourceStorageLocal">
4
+    <data-source name="@localhost" uuid="88a95afe-2071-4bb1-9109-74d9dd6f7cf3">
5
+      <database-info product="MySQL" version="8.0.12" jdbc-version="4.0" driver-name="MySQL Connector Java" driver-version="mysql-connector-java-5.1.46 ( Revision: 9cc87a48e75c2d2e87c1a293b2862ce651cb256e )" family="MYSQL" exact-version="8.0.12">
6
+        <extra-name-characters>#@</extra-name-characters>
7
+        <identifier-quote-string>`</identifier-quote-string>
8
+      </database-info>
9
+      <case-sensitivity plain-identifiers="mixed" quoted-identifiers="upper" />
10
+      <secret-storage>master_key</secret-storage>
11
+      <user-name>root</user-name>
12
+      <introspection-schemas>*:*</introspection-schemas>
13
+    </data-source>
14
+  </component>
15
+</project>

+ 19
- 0
.idea/dataSources.xml 查看文件

@@ -0,0 +1,19 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="DataSourceManagerImpl" format="xml" multifile-model="true">
4
+    <data-source source="LOCAL" name="@localhost" uuid="88a95afe-2071-4bb1-9109-74d9dd6f7cf3">
5
+      <driver-ref>mysql</driver-ref>
6
+      <synchronize>true</synchronize>
7
+      <jdbc-driver>com.mysql.jdbc.Driver</jdbc-driver>
8
+      <jdbc-url>jdbc:mysql://localhost:3306</jdbc-url>
9
+      <driver-properties>
10
+        <property name="autoReconnect" value="true" />
11
+        <property name="zeroDateTimeBehavior" value="convertToNull" />
12
+        <property name="tinyInt1isBit" value="false" />
13
+        <property name="characterEncoding" value="utf8" />
14
+        <property name="characterSetResults" value="utf8" />
15
+        <property name="yearIsDateType" value="false" />
16
+      </driver-properties>
17
+    </data-source>
18
+  </component>
19
+</project>

+ 2
- 0
.idea/dataSources/5d3b9fb8-5e9a-49b5-801f-0f716fd65293/storage_v2/_src_/schema/pokemon.0zw36A.meta 查看文件

@@ -0,0 +1,2 @@
1
+#n:pokemon
2
+!<md> [null, 0, null, null, -2147483648, -2147483648]

+ 22668
- 0
.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3.xml
文件差异内容过多而无法显示
查看文件


+ 2
- 0
.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/storage_v2/_src_/schema/pokemon.0zw36A.meta 查看文件

@@ -0,0 +1,2 @@
1
+#n:pokemon
2
+!<md> [null, 0, null, null, -2147483648, -2147483648]

+ 1
- 0
.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/storage_v2/_src_/schema/sys.zb4BAA.meta 查看文件

@@ -0,0 +1 @@
1
+#n:sys

二进制
.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/storage_v2/_src_/schema/sys.zb4BAA.zip 查看文件


+ 6
- 0
.idea/misc.xml 查看文件

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="ES6" />
5
+  </component>
6
+</project>

+ 8
- 0
.idea/modules.xml 查看文件

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/PokemonSqlLab.iml" filepath="$PROJECT_DIR$/.idea/PokemonSqlLab.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
.idea/vcs.xml 查看文件

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 500
- 0
.idea/workspace.xml 查看文件

@@ -0,0 +1,500 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="73b28f8f-3894-476d-9078-89db475ccced" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts" afterDir="false" />
8
+    </list>
9
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
+    <option name="SHOW_DIALOG" value="false" />
11
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+    <option name="LAST_RESOLUTION" value="IGNORE" />
14
+  </component>
15
+  <component name="DatabaseView">
16
+    <option name="SHOW_INTERMEDIATE" value="true" />
17
+    <option name="GROUP_DATA_SOURCES" value="true" />
18
+    <option name="GROUP_SCHEMA" value="true" />
19
+    <option name="GROUP_CONTENTS" value="false" />
20
+    <option name="SORT_POSITIONED" value="false" />
21
+    <option name="SHOW_EMPTY_GROUPS" value="false" />
22
+    <option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
23
+    <option name="HIDDEN_KINDS">
24
+      <set />
25
+    </option>
26
+    <expand>
27
+      <path>
28
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
29
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
30
+      </path>
31
+      <path>
32
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
33
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
34
+        <item name="schemas" type="d4e8921:DatabaseStructure$FamilyGroup" />
35
+      </path>
36
+      <path>
37
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
38
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
39
+        <item name="schemas" type="d4e8921:DatabaseStructure$FamilyGroup" />
40
+        <item name="pokemon: schema" type="c314c289:MysqlImplModel$Schema" />
41
+      </path>
42
+    </expand>
43
+    <select />
44
+  </component>
45
+  <component name="ExecutionTargetDialog">
46
+    <checked>
47
+      <node key="88a95afe-2071-4bb1-9109-74d9dd6f7cf3">
48
+        <node key="pokemon" />
49
+      </node>
50
+    </checked>
51
+    <expanded>
52
+      <node key="88a95afe-2071-4bb1-9109-74d9dd6f7cf3" />
53
+    </expanded>
54
+  </component>
55
+  <component name="FUSProjectUsageTrigger">
56
+    <session id="-2078513765">
57
+      <usages-collector id="statistics.lifecycle.project">
58
+        <counts>
59
+          <entry key="project.closed" value="8" />
60
+          <entry key="project.open.time.12" value="1" />
61
+          <entry key="project.open.time.15" value="1" />
62
+          <entry key="project.open.time.18" value="1" />
63
+          <entry key="project.open.time.2" value="1" />
64
+          <entry key="project.open.time.3" value="3" />
65
+          <entry key="project.open.time.4" value="2" />
66
+          <entry key="project.open.time.6" value="1" />
67
+          <entry key="project.opened" value="10" />
68
+        </counts>
69
+      </usages-collector>
70
+      <usages-collector id="statistics.file.extensions.open">
71
+        <counts>
72
+          <entry key="Simple Selects and COunts" value="1" />
73
+          <entry key="Simple Selects and Counts" value="5" />
74
+          <entry key="md" value="9" />
75
+          <entry key="pokemon_pokemon_trainer" value="1" />
76
+          <entry key="pokemon_trainer" value="6" />
77
+          <entry key="pokemons" value="4" />
78
+          <entry key="properties" value="1" />
79
+          <entry key="sql" value="19" />
80
+          <entry key="trainers" value="4" />
81
+          <entry key="types" value="4" />
82
+        </counts>
83
+      </usages-collector>
84
+      <usages-collector id="statistics.file.types.open">
85
+        <counts>
86
+          <entry key="Database Element" value="19" />
87
+          <entry key="Markdown" value="8" />
88
+          <entry key="PLAIN_TEXT" value="7" />
89
+          <entry key="Properties" value="1" />
90
+          <entry key="SQL" value="15" />
91
+          <entry key="Scratch" value="4" />
92
+        </counts>
93
+      </usages-collector>
94
+      <usages-collector id="statistics.file.extensions.edit">
95
+        <counts>
96
+          <entry key="Simple Selects and Counts" value="121" />
97
+          <entry key="properties" value="7" />
98
+          <entry key="sql" value="1624" />
99
+        </counts>
100
+      </usages-collector>
101
+      <usages-collector id="statistics.file.types.edit">
102
+        <counts>
103
+          <entry key="PLAIN_TEXT" value="121" />
104
+          <entry key="Properties" value="7" />
105
+          <entry key="SQL" value="2" />
106
+          <entry key="Scratch" value="1622" />
107
+        </counts>
108
+      </usages-collector>
109
+    </session>
110
+  </component>
111
+  <component name="FileEditorManager">
112
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
113
+      <file pinned="false" current-in-tab="true">
114
+        <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql">
115
+          <provider selected="true" editor-type-id="text-editor">
116
+            <state>
117
+              <caret selection-end-line="5" />
118
+            </state>
119
+          </provider>
120
+        </entry>
121
+      </file>
122
+      <file pinned="false" current-in-tab="false">
123
+        <entry file="file://$PROJECT_DIR$/README.md">
124
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
125
+            <state split_layout="SPLIT">
126
+              <first_editor relative-caret-position="216">
127
+                <caret line="38" column="17" selection-start-line="38" selection-end-line="39" />
128
+              </first_editor>
129
+              <second_editor />
130
+            </state>
131
+          </provider>
132
+        </entry>
133
+      </file>
134
+      <file pinned="false" current-in-tab="false">
135
+        <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/trainers">
136
+          <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
137
+            <state>
138
+              <filtering enabled="true" />
139
+            </state>
140
+          </provider>
141
+        </entry>
142
+      </file>
143
+      <file pinned="false" current-in-tab="false">
144
+        <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemon_trainer">
145
+          <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
146
+            <state>
147
+              <filtering enabled="true" />
148
+            </state>
149
+          </provider>
150
+        </entry>
151
+      </file>
152
+    </leaf>
153
+  </component>
154
+  <component name="Git.Settings">
155
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
156
+  </component>
157
+  <component name="IdeDocumentHistory">
158
+    <option name="CHANGED_PATHS">
159
+      <list>
160
+        <option value="$PROJECT_DIR$/pokemon_sql/pokemon_pokemons.sql" />
161
+        <option value="$PROJECT_DIR$/pokemon_sql/pokemon_types.sql" />
162
+        <option value="$APPLICATION_CONFIG_DIR$/idea.properties" />
163
+        <option value="$APPLICATION_CONFIG_DIR$/consoles/db/5d3b9fb8-5e9a-49b5-801f-0f716fd65293/console.sql" />
164
+        <option value="$APPLICATION_CONFIG_DIR$/scratches/scratch.sql" />
165
+        <option value="$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql" />
166
+        <option value="$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts" />
167
+      </list>
168
+    </option>
169
+  </component>
170
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
171
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
172
+  <component name="JsGulpfileManager">
173
+    <detection-done>true</detection-done>
174
+    <sorting>DEFINITION_ORDER</sorting>
175
+  </component>
176
+  <component name="ProjectFrameBounds" fullScreen="true">
177
+    <option name="width" value="1280" />
178
+    <option name="height" value="800" />
179
+  </component>
180
+  <component name="ProjectView">
181
+    <navigator proportions="" version="1">
182
+      <foldersAlwaysOnTop value="true" />
183
+    </navigator>
184
+    <panes>
185
+      <pane id="Scope" />
186
+      <pane id="ProjectPane">
187
+        <subPane>
188
+          <expand>
189
+            <path>
190
+              <item name="PokemonSqlLab" type="8cb6161f:DatabaseProjectViewPane$1$1" />
191
+              <item name="PokemonSqlLab" type="5b8f4e1:DatabaseProjectViewPane$1$1$1" />
192
+            </path>
193
+            <path>
194
+              <item name="PokemonSqlLab" type="8cb6161f:DatabaseProjectViewPane$1$1" />
195
+              <item name="PokemonSqlLab" type="5b8f4e1:DatabaseProjectViewPane$1$1$1" />
196
+              <item name="pokemon_sql" type="462c0819:PsiDirectoryNode" />
197
+            </path>
198
+          </expand>
199
+          <select />
200
+        </subPane>
201
+      </pane>
202
+      <pane id="PackagesPane" />
203
+    </panes>
204
+  </component>
205
+  <component name="PropertiesComponent">
206
+    <property name="DatabaseDriversLRU" value="mysql" />
207
+    <property name="GoToClass.toSaveIncludeLibraries" value="true" />
208
+    <property name="WebServerToolWindowFactoryState" value="false" />
209
+    <property name="aspect.path.notification.shown" value="true" />
210
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542397307603" />
211
+    <property name="com.intellij.ide.scratch.LRUPopupBuilder$1/New Scratch File" value="GenericSQL" />
212
+    <property name="com.intellij.ide.scratch.LRUPopupBuilder$1/SQL Dialect" value="GenericSQL" />
213
+    <property name="database.console.LAST_STATE" value="true" />
214
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
215
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
216
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
217
+    <property name="project.structure.last.edited" value="Project" />
218
+    <property name="project.structure.proportion" value="0.0" />
219
+    <property name="project.structure.side.proportion" value="0.0" />
220
+    <property name="settings.editor.selected.configurable" value="database.main" />
221
+  </component>
222
+  <component name="RunDashboard">
223
+    <option name="ruleStates">
224
+      <list>
225
+        <RuleState>
226
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
227
+        </RuleState>
228
+        <RuleState>
229
+          <option name="name" value="StatusDashboardGroupingRule" />
230
+        </RuleState>
231
+      </list>
232
+    </option>
233
+  </component>
234
+  <component name="SvnConfiguration">
235
+    <configuration />
236
+  </component>
237
+  <component name="TaskManager">
238
+    <task active="true" id="Default" summary="Default task">
239
+      <changelist id="73b28f8f-3894-476d-9078-89db475ccced" name="Default Changelist" comment="" />
240
+      <created>1541998335965</created>
241
+      <option name="number" value="Default" />
242
+      <option name="presentableId" value="Default" />
243
+      <updated>1541998335965</updated>
244
+      <workItem from="1541998337816" duration="1258000" />
245
+      <workItem from="1542028894029" duration="1663000" />
246
+      <workItem from="1542306947606" duration="1143000" />
247
+      <workItem from="1542308200927" duration="1294000" />
248
+      <workItem from="1542318409238" duration="660000" />
249
+      <workItem from="1542384882198" duration="5453000" />
250
+    </task>
251
+    <servers />
252
+  </component>
253
+  <component name="TimeTrackingManager">
254
+    <option name="totallyTimeSpent" value="11471000" />
255
+  </component>
256
+  <component name="ToolWindowManager">
257
+    <frame x="0" y="0" width="1280" height="800" extended-state="0" />
258
+    <layout>
259
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13166398" />
260
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
261
+      <window_info id="Image Layers" order="2" />
262
+      <window_info id="Designer" order="3" />
263
+      <window_info id="UI Designer" order="4" />
264
+      <window_info id="Capture Tool" order="5" />
265
+      <window_info id="Favorites" order="6" side_tool="true" />
266
+      <window_info anchor="bottom" id="Message" order="0" />
267
+      <window_info anchor="bottom" id="Find" order="1" />
268
+      <window_info anchor="bottom" id="Run" order="2" weight="0.37843552" />
269
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
270
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
271
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
272
+      <window_info anchor="bottom" id="TODO" order="6" />
273
+      <window_info active="true" anchor="bottom" id="Database Console" order="7" visible="true" weight="0.39178082" />
274
+      <window_info anchor="bottom" id="Version Control" order="8" />
275
+      <window_info anchor="bottom" id="Database Changes" order="9" />
276
+      <window_info anchor="bottom" id="Terminal" order="10" weight="0.32953367" />
277
+      <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" weight="0.32928944" />
278
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
279
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
280
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
281
+      <window_info anchor="right" id="Palette" order="3" />
282
+      <window_info anchor="right" id="Capture Analysis" order="4" />
283
+      <window_info anchor="right" id="Theme Preview" order="5" />
284
+      <window_info anchor="right" id="Palette&#9;" order="6" />
285
+      <window_info anchor="right" id="Database" order="7" visible="true" weight="0.15508886" />
286
+      <window_info anchor="right" id="Maven Projects" order="8" />
287
+    </layout>
288
+    <layout-to-restore>
289
+      <window_info id="Image Layers" order="0" />
290
+      <window_info id="Designer" order="1" />
291
+      <window_info id="Capture Tool" order="2" />
292
+      <window_info id="UI Designer" order="3" />
293
+      <window_info id="Favorites" order="4" side_tool="true" />
294
+      <window_info content_ui="combo" id="Project" order="5" weight="0.24555735" />
295
+      <window_info id="Structure" order="6" side_tool="true" weight="0.25" />
296
+      <window_info anchor="bottom" id="Version Control" order="0" />
297
+      <window_info anchor="bottom" id="Terminal" order="1" />
298
+      <window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
299
+      <window_info anchor="bottom" id="Database Changes" order="3" />
300
+      <window_info active="true" anchor="bottom" id="Database Console" order="4" visible="true" weight="0.32876712" />
301
+      <window_info anchor="bottom" id="Message" order="5" />
302
+      <window_info anchor="bottom" id="Find" order="6" />
303
+      <window_info anchor="bottom" id="Run" order="7" />
304
+      <window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
305
+      <window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
306
+      <window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
307
+      <window_info anchor="bottom" id="TODO" order="11" />
308
+      <window_info anchor="right" id="Palette" order="0" />
309
+      <window_info anchor="right" id="Capture Analysis" order="1" />
310
+      <window_info anchor="right" id="Theme Preview" order="2" />
311
+      <window_info anchor="right" id="Palette&#9;" order="3" />
312
+      <window_info anchor="right" id="Database" order="4" visible="true" weight="0.32390952" />
313
+      <window_info anchor="right" id="Maven Projects" order="5" />
314
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" />
315
+      <window_info anchor="right" id="Ant Build" order="7" weight="0.25" />
316
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" />
317
+    </layout-to-restore>
318
+  </component>
319
+  <component name="TypeScriptGeneratedFilesManager">
320
+    <option name="version" value="1" />
321
+  </component>
322
+  <component name="VcsContentAnnotationSettings">
323
+    <option name="myLimit" value="2678400000" />
324
+  </component>
325
+  <component name="editorHistoryManager">
326
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/5f48c787-6a77-4718-8e8d-058d5908f430/console.sql" />
327
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_types.sql">
328
+      <provider selected="true" editor-type-id="text-editor" />
329
+    </entry>
330
+    <entry file="file://$APPLICATION_CONFIG_DIR$/idea.properties" />
331
+    <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemon_pokemon_trainer" />
332
+    <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/trainers" />
333
+    <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemon_trainer" />
334
+    <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemons" />
335
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/5d3b9fb8-5e9a-49b5-801f-0f716fd65293/console.sql" />
336
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_trainers.sql">
337
+      <provider selected="true" editor-type-id="text-editor">
338
+        <state relative-caret-position="278">
339
+          <caret line="5634" column="79" selection-end-line="11860" selection-end-column="94" />
340
+        </state>
341
+      </provider>
342
+    </entry>
343
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemon_trainer.sql">
344
+      <provider selected="true" editor-type-id="text-editor">
345
+        <state relative-caret-position="303">
346
+          <caret line="27" column="34" selection-start-line="27" selection-start-column="34" selection-end-line="27" selection-end-column="34" />
347
+        </state>
348
+      </provider>
349
+    </entry>
350
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemons.sql">
351
+      <provider selected="true" editor-type-id="text-editor" />
352
+    </entry>
353
+    <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/types" />
354
+    <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/scratch.sql" />
355
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/types">
356
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
357
+        <state>
358
+          <filtering enabled="true" />
359
+        </state>
360
+      </provider>
361
+    </entry>
362
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemons">
363
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
364
+        <state>
365
+          <filtering enabled="true" />
366
+        </state>
367
+      </provider>
368
+    </entry>
369
+    <entry file="file://$PROJECT_DIR$/README.md">
370
+      <provider editor-type-id="text-editor">
371
+        <state relative-caret-position="276">
372
+          <caret line="37" column="25" lean-forward="true" selection-start-line="37" selection-end-line="38" />
373
+        </state>
374
+      </provider>
375
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
376
+        <state split_layout="SPLIT">
377
+          <first_editor relative-caret-position="216">
378
+            <caret line="38" column="17" selection-start-line="38" selection-end-line="39" />
379
+          </first_editor>
380
+          <second_editor />
381
+        </state>
382
+      </provider>
383
+    </entry>
384
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemon_trainer">
385
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
386
+        <state>
387
+          <filtering enabled="true" />
388
+        </state>
389
+      </provider>
390
+    </entry>
391
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/trainers">
392
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
393
+        <state>
394
+          <filtering enabled="true" />
395
+        </state>
396
+      </provider>
397
+    </entry>
398
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql">
399
+      <provider selected="true" editor-type-id="text-editor">
400
+        <state>
401
+          <caret selection-end-line="5" />
402
+        </state>
403
+      </provider>
404
+    </entry>
405
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts">
406
+      <provider selected="true" editor-type-id="text-editor">
407
+        <state relative-caret-position="168">
408
+          <caret line="60" selection-start-line="60" selection-end-line="60" />
409
+        </state>
410
+      </provider>
411
+    </entry>
412
+  </component>
413
+  <component name="masterDetails">
414
+    <states>
415
+      <state key="ArtifactsStructureConfigurable.UI">
416
+        <settings>
417
+          <artifact-editor />
418
+          <splitter-proportions>
419
+            <option name="proportions">
420
+              <list>
421
+                <option value="0.2" />
422
+              </list>
423
+            </option>
424
+          </splitter-proportions>
425
+        </settings>
426
+      </state>
427
+      <state key="FacetStructureConfigurable.UI">
428
+        <settings>
429
+          <last-edited>No facets are configured</last-edited>
430
+          <splitter-proportions>
431
+            <option name="proportions">
432
+              <list>
433
+                <option value="0.2" />
434
+              </list>
435
+            </option>
436
+          </splitter-proportions>
437
+        </settings>
438
+      </state>
439
+      <state key="GlobalLibrariesConfigurable.UI">
440
+        <settings>
441
+          <splitter-proportions>
442
+            <option name="proportions">
443
+              <list>
444
+                <option value="0.2" />
445
+              </list>
446
+            </option>
447
+          </splitter-proportions>
448
+        </settings>
449
+      </state>
450
+      <state key="JdkListConfigurable.UI">
451
+        <settings>
452
+          <last-edited>1.8</last-edited>
453
+          <splitter-proportions>
454
+            <option name="proportions">
455
+              <list>
456
+                <option value="0.2" />
457
+              </list>
458
+            </option>
459
+          </splitter-proportions>
460
+        </settings>
461
+      </state>
462
+      <state key="ModuleStructureConfigurable.UI">
463
+        <settings>
464
+          <last-edited>PokemonSqlLab</last-edited>
465
+          <splitter-proportions>
466
+            <option name="proportions">
467
+              <list>
468
+                <option value="0.2" />
469
+                <option value="0.6" />
470
+              </list>
471
+            </option>
472
+          </splitter-proportions>
473
+        </settings>
474
+      </state>
475
+      <state key="ProjectJDKs.UI">
476
+        <settings>
477
+          <last-edited>1.8</last-edited>
478
+          <splitter-proportions>
479
+            <option name="proportions">
480
+              <list>
481
+                <option value="0.2" />
482
+              </list>
483
+            </option>
484
+          </splitter-proportions>
485
+        </settings>
486
+      </state>
487
+      <state key="ProjectLibrariesConfigurable.UI">
488
+        <settings>
489
+          <splitter-proportions>
490
+            <option name="proportions">
491
+              <list>
492
+                <option value="0.2" />
493
+              </list>
494
+            </option>
495
+          </splitter-proportions>
496
+        </settings>
497
+      </state>
498
+    </states>
499
+  </component>
500
+</project>

+ 2
- 0
mysqlconnectorjava.iml 查看文件

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4" />

+ 28805
- 0
pokemon_sql 2/pokemon_pokemon_trainer.sql
文件差异内容过多而无法显示
查看文件


+ 657
- 0
pokemon_sql 2/pokemon_pokemons.sql 查看文件

@@ -0,0 +1,657 @@
1
+create table pokemons(id int auto_increment primary key,name text not null,primary_type int not null,secondary_type int null);
2
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (1, 'Smeargle', 1, null);
3
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (2, 'Wailord', 2, null);
4
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (3, 'Vileplume', 3, 7);
5
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (4, 'Armaldo', 4, 8);
6
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (5, 'Cradily', 4, 3);
7
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (6, 'Carvanha', 2, 12);
8
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (7, 'Numel', 5, 6);
9
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (8, 'Sandslash', 6, null);
10
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (9, 'Ninetales', 5, null);
11
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (10, 'Weepinbell', 3, 7);
12
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (11, 'Gloom', 3, 7);
13
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (12, 'Ivysaur', 3, 7);
14
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (13, 'Nidorino', 7, null);
15
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (14, 'Nidoking', 7, 6);
16
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (15, 'Dugtrio', 6, null);
17
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (16, 'Rhyhorn', 6, 4);
18
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (17, 'Persian', 1, null);
19
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (18, 'Wartortle', 2, null);
20
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (19, 'Charmeleon', 5, null);
21
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (20, 'Charizard', 5, 18);
22
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (21, 'Exeggutor', 3, 14);
23
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (22, 'Cloyster', 2, 17);
24
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (23, 'Arcanine', 5, null);
25
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (24, 'Parasect', 8, 3);
26
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (25, 'Dewgong', 2, 17);
27
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (26, 'Chansey', 1, null);
28
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (27, 'Kingler', 2, null);
29
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (28, 'Tentacruel', 2, 7);
30
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (29, 'Blastoise', 2, null);
31
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (30, 'Bellsprout', 3, 7);
32
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (31, 'Victreebel', 3, 7);
33
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (32, 'Rapidash', 5, null);
34
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (33, 'Magneton', 9, 11);
35
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (34, 'Quagsire', 2, 6);
36
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (35, 'Exeggcute', 3, 14);
37
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (36, 'Horsea', 2, null);
38
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (37, 'Electrode', 9, null);
39
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (38, 'Starmie', 2, 14);
40
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (39, 'Seadra', 2, null);
41
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (40, 'Butterfree', 8, 18);
42
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (41, 'Bellossom', 3, null);
43
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (42, 'Dragonair', 10, null);
44
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (43, 'Poliwhirl', 2, null);
45
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (44, 'Flareon', 5, null);
46
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (45, 'Eevee', 1, null);
47
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (46, 'Vaporeon', 2, null);
48
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (47, 'Jolteon', 9, null);
49
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (48, 'Goldeen', 2, null);
50
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (49, 'Seaking', 2, null);
51
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (50, 'Golduck', 2, null);
52
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (51, 'Staryu', 2, null);
53
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (52, 'Pikachu', 9, null);
54
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (53, 'Shellder', 2, null);
55
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (54, 'Marill', 2, 16);
56
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (55, 'Skiploom', 3, 18);
57
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (56, 'Dratini', 10, null);
58
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (57, 'Bulbasaur', 3, 7);
59
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (58, 'Venusaur', 3, 7);
60
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (59, 'Charmander', 5, null);
61
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (60, 'Squirtle', 2, null);
62
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (61, 'Nidoqueen', 7, 6);
63
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (62, 'Pidgeot', 1, 18);
64
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (63, 'Electabuzz', 9, null);
65
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (64, 'Tangela', 3, null);
66
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (65, 'Tauros', 1, null);
67
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (66, 'Manectric', 9, null);
68
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (67, 'Muk', 7, null);
69
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (68, 'Azumarill', 2, 16);
70
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (69, 'Zangoose', 1, null);
71
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (70, 'Wingull', 2, 18);
72
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (71, 'Roselia', 3, 7);
73
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (72, 'Pelipper', 2, 18);
74
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (73, 'Camerupt', 5, 6);
75
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (74, 'Mawile', 11, 16);
76
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (75, 'Sableye', 12, 15);
77
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (76, 'Swellow', 1, 18);
78
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (77, 'Trapinch', 6, null);
79
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (78, 'Wailmer', 2, null);
80
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (79, 'Shiftry', 3, 12);
81
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (80, 'Cacturne', 3, 12);
82
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (81, 'Lairon', 11, 4);
83
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (82, 'Linoone', 1, null);
84
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (83, 'Milotic', 2, null);
85
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (84, 'Delcatty', 1, null);
86
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (85, 'Nosepass', 4, null);
87
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (86, 'Medicham', 13, 14);
88
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (87, 'Ludicolo', 2, 3);
89
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (88, 'Kecleon', 1, null);
90
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (89, 'Graveler', 4, 6);
91
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (90, 'Loudred', 1, null);
92
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (91, 'Dodrio', 1, 18);
93
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (92, 'Kadabra', 14, null);
94
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (93, 'Claydol', 6, 14);
95
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (94, 'Sharpedo', 2, 12);
96
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (95, 'Magcargo', 5, 4);
97
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (96, 'Electrike', 9, null);
98
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (97, 'Makuhita', 13, null);
99
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (98, 'Hariyama', 13, null);
100
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (99, 'Wigglytuff', 1, 16);
101
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (100, 'Vigoroth', 1, null);
102
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (101, 'Skarmory', 11, 18);
103
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (102, 'Spinda', 1, null);
104
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (103, 'Exploud', 1, null);
105
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (104, 'Slaking', 1, null);
106
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (105, 'Lanturn', 2, 9);
107
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (106, 'Slakoth', 1, null);
108
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (107, 'Absol', 12, null);
109
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (108, 'Tropius', 3, 18);
110
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (109, 'Gardevoir', 14, 16);
111
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (110, 'Torkoal', 5, null);
112
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (111, 'Lunatone', 4, 14);
113
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (112, 'Solrock', 4, 14);
114
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (113, 'Dusclops', 15, null);
115
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (114, 'Tyranitar', 4, 12);
116
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (115, 'Clefairy', 16, null);
117
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (116, 'Jigglypuff', 1, 16);
118
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (117, 'Kingdra', 2, 10);
119
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (118, 'Paras', 8, 3);
120
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (119, 'Lapras', 2, 17);
121
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (120, 'Rhydon', 6, 4);
122
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (121, 'Slowbro', 2, 14);
123
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (122, 'Ursaring', 1, null);
124
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (123, 'Machoke', 13, null);
125
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (124, 'Kangaskhan', 1, null);
126
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (125, 'Machamp', 13, null);
127
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (126, 'Oddish', 3, 7);
128
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (127, 'Girafarig', 1, 14);
129
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (128, 'Ponyta', 5, null);
130
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (129, 'Vulpix', 5, null);
131
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (130, 'Raticate', 1, null);
132
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (131, 'Marowak', 6, null);
133
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (132, 'Nidorina', 7, null);
134
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (133, 'Onix', 4, 6);
135
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (134, 'Aerodactyl', 4, 18);
136
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (135, 'Sneasel', 12, 17);
137
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (136, 'Gastly', 15, 7);
138
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (137, 'Haunter', 15, 7);
139
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (138, 'Gengar', 15, 7);
140
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (139, 'Grotle', 3, null);
141
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (140, 'Snover', 3, 17);
142
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (141, 'Ambipom', 1, null);
143
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (142, 'Raichu', 9, null);
144
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (143, 'Gastrodon', 2, 6);
145
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (144, 'Pachirisu', 9, null);
146
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (145, 'Blissey', 1, null);
147
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (146, 'Sudowoodo', 4, null);
148
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (147, 'Misdreavus', 15, null);
149
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (148, 'Drifblim', 15, 18);
150
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (149, 'Skorupi', 7, 8);
151
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (150, 'Steelix', 11, 6);
152
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (151, 'Lopunny', 1, null);
153
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (152, 'Hippopotas', 6, null);
154
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (153, 'Mightyena', 12, null);
155
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (154, 'Kirlia', 14, 16);
156
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (155, 'Flaaffy', 9, null);
157
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (156, 'Ampharos', 9, null);
158
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (157, 'Monferno', 5, 13);
159
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (158, 'Gyarados', 2, 18);
160
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (159, 'Luxio', 9, null);
161
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (160, 'Mothim', 8, 18);
162
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (161, 'Salamence', 10, 18);
163
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (162, 'Honchkrow', 12, 18);
164
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (163, 'Staravia', 1, 18);
165
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (164, 'Metagross', 11, 14);
166
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (165, 'Drapion', 7, 12);
167
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (166, 'Floatzel', 2, null);
168
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (167, 'Stantler', 1, null);
169
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (168, 'Carnivine', 3, null);
170
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (169, 'Primeape', 13, null);
171
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (170, 'Glameow', 1, null);
172
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (171, 'Purugly', 1, null);
173
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (172, 'Alakazam', 14, null);
174
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (173, 'Yanma', 8, 18);
175
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (174, 'Bibarel', 1, 2);
176
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (175, 'Beautifly', 8, 18);
177
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (176, 'Meowth', 1, null);
178
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (177, 'Hypno', 14, null);
179
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (178, 'Dunsparce', 1, null);
180
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (179, 'Scyther', 8, 18);
181
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (180, 'Rampardos', 4, null);
182
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (181, 'Pinsir', 8, null);
183
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (182, 'Lickitung', 1, null);
184
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (183, 'Miltank', 1, null);
185
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (184, 'Granbull', 16, null);
186
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (185, 'Cherrim', 3, null);
187
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (186, 'Larvitar', 4, 6);
188
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (187, 'Clefable', 16, null);
189
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (188, 'Torterra', 3, 6);
190
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (189, 'Glalie', 17, null);
191
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (190, 'Crobat', 7, 18);
192
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (191, 'Aipom', 1, null);
193
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (192, 'Beedrill', 8, 7);
194
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (193, 'Porygon2', 1, null);
195
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (194, 'Bronzor', 11, 14);
196
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (195, 'Snorunt', 17, null);
197
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (196, 'Scizor', 8, 11);
198
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (197, 'Swalot', 7, null);
199
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (198, 'Magnezone', 9, 11);
200
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (199, 'Magmar', 5, null);
201
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (200, 'Electivire', 9, null);
202
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (201, 'Magmortar', 5, null);
203
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (202, 'Gligar', 6, 18);
204
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (203, 'Buizel', 2, null);
205
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (204, 'Gliscor', 6, 18);
206
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (205, 'Probopass', 4, 11);
207
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (206, 'Tyrogue', 13, null);
208
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (207, 'Hitmonchan', 13, null);
209
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (208, 'Piloswine', 17, 6);
210
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (209, 'Staraptor', 1, 18);
211
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (210, 'Jumpluff', 3, 18);
212
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (211, 'Banette', 15, null);
213
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (212, 'Ralts', 14, 16);
214
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (213, 'Roserade', 3, 7);
215
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (214, 'Lickilicky', 1, null);
216
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (215, 'Abomasnow', 3, 17);
217
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (216, 'Metang', 11, 14);
218
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (217, 'Seviper', 7, null);
219
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (218, 'Luxray', 9, null);
220
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (219, 'Buneary', 1, null);
221
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (220, 'Mamoswine', 17, 6);
222
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (221, 'Vibrava', 6, 10);
223
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (222, 'Flygon', 6, 10);
224
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (223, 'Nuzleaf', 3, 12);
225
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (224, 'Pupitar', 4, 6);
226
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (225, 'Magnemite', 9, 11);
227
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (226, 'Mareep', 9, null);
228
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (227, 'Growlithe', 5, null);
229
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (228, 'Slowking', 2, 14);
230
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (229, 'Drilbur', 6, null);
231
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (230, 'Zebstrika', 9, null);
232
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (231, 'Swoobat', 14, 18);
233
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (232, 'Stoutland', 1, null);
234
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (233, 'Furret', 1, null);
235
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (234, 'Gabite', 10, 6);
236
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (235, 'Grumpig', 14, null);
237
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (236, 'Vanillish', 17, null);
238
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (237, 'Gothorita', 14, null);
239
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (238, 'Duosion', 14, null);
240
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (239, 'Simisage', 3, null);
241
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (240, 'Simisear', 5, null);
242
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (241, 'Simipour', 2, null);
243
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (242, 'Galvantula', 8, 9);
244
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (243, 'Sawsbuck', 1, 3);
245
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (244, 'Jellicent', 2, 15);
246
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (245, 'Fraxure', 10, null);
247
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (246, 'Whimsicott', 3, 16);
248
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (247, 'Tirtouga', 2, 4);
249
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (248, 'Deino', 12, 10);
250
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (249, 'Druddigon', 10, null);
251
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (250, 'Klang', 11, null);
252
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (251, 'Seismitoad', 2, 6);
253
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (252, 'Scolipede', 8, 7);
254
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (253, 'Mienfoo', 13, null);
255
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (254, 'Elgyem', 14, null);
256
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (255, 'Pawniard', 12, 11);
257
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (256, 'Liepard', 12, null);
258
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (257, 'Watchog', 1, null);
259
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (258, 'Alomomola', 2, null);
260
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (259, 'Klinklang', 11, null);
261
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (260, 'Beheeyem', 14, null);
262
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (261, 'Cubchoo', 17, null);
263
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (262, 'Leavanny', 8, 3);
264
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (263, 'Archen', 4, 18);
265
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (264, 'Eelektrik', 9, null);
266
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (265, 'Accelgor', 8, null);
267
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (266, 'Espeon', 14, null);
268
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (267, 'Walrein', 17, 2);
269
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (268, 'Gallade', 14, 13);
270
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (269, 'Jynx', 17, 14);
271
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (270, 'Rotom', 9, 15);
272
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (271, 'Gothita', 14, null);
273
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (272, 'Lilligant', 3, null);
274
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (273, 'Ducklett', 2, 18);
275
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (274, 'Krokorok', 6, 12);
276
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (275, 'Palpitoad', 2, 6);
277
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (276, 'Lampent', 15, 5);
278
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (277, 'Unfezant', 1, 18);
279
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (278, 'Axew', 10, null);
280
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (279, 'Golurk', 6, 15);
281
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (280, 'Sigilyph', 14, 18);
282
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (281, 'Tangrowth', 3, null);
283
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (282, 'Heatmor', 5, null);
284
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (283, 'Umbreon', 12, null);
285
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (284, 'Mismagius', 15, null);
286
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (285, 'Klink', 11, null);
287
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (286, 'Mantine', 2, 18);
288
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (287, 'Basculin', 2, null);
289
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (288, 'Emolga', 9, 18);
290
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (289, 'Herdier', 1, null);
291
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (290, 'Excadrill', 6, 11);
292
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (291, 'Swanna', 2, 18);
293
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (292, 'Mandibuzz', 12, 18);
294
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (293, 'Toxicroak', 7, 13);
295
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (294, 'Braviary', 1, 18);
296
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (295, 'Cofagrigus', 15, null);
297
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (296, 'Beartic', 17, null);
298
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (297, 'Durant', 8, 11);
299
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (298, 'Ferroseed', 3, 11);
300
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (299, 'Ferrothorn', 3, 11);
301
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (300, 'Lucario', 13, 11);
302
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (301, 'Weavile', 12, 17);
303
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (302, 'Weezing', 7, null);
304
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (303, 'Bronzong', 11, 14);
305
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (304, 'Eelektross', 9, null);
306
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (305, 'Doublade', 11, 15);
307
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (306, 'Chandelure', 15, 5);
308
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (307, 'Crustle', 8, 4);
309
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (308, 'Doduo', 1, 18);
310
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (309, 'Helioptile', 9, 1);
311
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (310, 'Carbink', 4, 16);
312
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (311, 'Cryogonal', 17, null);
313
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (312, 'Vanilluxe', 17, null);
314
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (313, 'Delibird', 17, 18);
315
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (314, 'Rhyperior', 6, 4);
316
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (315, 'Masquerain', 8, 18);
317
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (316, 'Golem', 4, 6);
318
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (317, 'Froslass', 17, 15);
319
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (318, 'Shedinja', 8, 15);
320
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (319, 'Breloom', 3, 13);
321
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (320, 'Bagon', 10, null);
322
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (321, 'Talonflame', 5, 18);
323
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (322, 'Haxorus', 10, null);
324
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (323, 'Slugma', 5, null);
325
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (324, 'Goomy', 10, null);
326
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (325, 'Sylveon', 16, null);
327
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (326, 'Grimer', 7, null);
328
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (327, 'Goodra', 10, null);
329
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (328, 'Fearow', 1, 18);
330
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (329, 'Garbodor', 7, null);
331
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (330, 'Slowpoke', 2, 14);
332
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (331, 'Sandshrew', 6, null);
333
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (332, 'Psyduck', 2, null);
334
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (333, 'Poliwag', 2, null);
335
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (334, 'Diglett', 6, null);
336
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (335, 'Seel', 2, null);
337
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (336, 'Voltorb', 9, null);
338
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (337, 'Ditto', 1, null);
339
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (338, 'Koffing', 7, null);
340
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (339, 'Moltres', 5, 18);
341
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (340, 'Kabutops', 4, 2);
342
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (341, 'Dragonite', 10, 18);
343
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (342, 'Snorlax', 1, null);
344
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (343, 'Omastar', 4, 2);
345
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (344, 'Poliwrath', 2, 13);
346
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (345, 'Mew', 14, null);
347
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (346, 'Zapdos', 9, 18);
348
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (347, 'Remoraid', 2, null);
349
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (348, 'Politoed', 2, null);
350
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (349, 'Venonat', 8, 7);
351
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (350, 'Celebi', 14, 3);
352
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (351, 'Raikou', 9, null);
353
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (352, 'Chikorita', 3, null);
354
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (353, 'Totodile', 2, null);
355
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (354, 'Cyndaquil', 5, null);
356
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (355, 'Bayleef', 3, null);
357
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (356, 'Croconaw', 2, null);
358
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (357, 'Quilava', 5, null);
359
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (358, 'Anorith', 4, 8);
360
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (359, 'Sunkern', 3, null);
361
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (360, 'Hoppip', 3, 18);
362
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (361, 'Luvdisc', 2, null);
363
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (362, 'Hoothoot', 1, 18);
364
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (363, 'Treecko', 3, null);
365
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (364, 'Sunflora', 3, null);
366
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (365, 'Taillow', 1, 18);
367
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (366, 'Togepi', 16, null);
368
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (367, 'Surskit', 8, 2);
369
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (368, 'Blaziken', 5, 13);
370
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (369, 'Sceptile', 3, null);
371
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (370, 'Swampert', 2, 6);
372
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (371, 'Altaria', 10, 18);
373
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (372, 'Mudkip', 2, null);
374
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (373, 'Zubat', 7, 18);
375
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (374, 'Cacnea', 3, null);
376
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (375, 'Barboach', 2, 6);
377
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (376, 'Seedot', 3, null);
378
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (377, 'Typhlosion', 5, null);
379
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (378, 'Feraligatr', 2, null);
380
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (379, 'Meganium', 3, null);
381
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (380, 'Jirachi', 11, 14);
382
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (381, 'Xatu', 14, 18);
383
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (382, 'Latias', 10, 14);
384
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (383, 'Illumise', 8, null);
385
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (384, 'Entei', 5, null);
386
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (385, 'Gorebyss', 2, null);
387
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (386, 'Suicune', 2, null);
388
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (387, 'Aggron', 11, 4);
389
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (388, 'Donphan', 6, null);
390
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (389, 'Golbat', 7, 18);
391
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (390, 'Noctowl', 1, 18);
392
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (391, 'Forretress', 8, 11);
393
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (392, 'Houndoom', 12, 5);
394
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (393, 'Castform', 1, null);
395
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (394, 'Rayquaza', 10, 18);
396
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (395, 'Huntail', 2, null);
397
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (396, 'Volbeat', 8, null);
398
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (397, 'Dustox', 8, 7);
399
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (398, 'Ledian', 8, 18);
400
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (399, 'Ariados', 8, 7);
401
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (400, 'Relicanth', 2, 4);
402
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (401, 'Octillery', 2, null);
403
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (402, 'Lombre', 2, 3);
404
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (403, 'Clamperl', 2, null);
405
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (404, 'Teddiursa', 1, null);
406
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (405, 'Nincada', 8, 6);
407
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (406, 'Swinub', 17, 6);
408
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (407, 'Sentret', 1, null);
409
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (408, 'Pineco', 8, null);
410
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (409, 'Skitty', 1, null);
411
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (410, 'Zigzagoon', 1, null);
412
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (411, 'Heracross', 8, 13);
413
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (412, 'Wobbuffet', 14, null);
414
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (413, 'Regice', 17, null);
415
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (414, 'Swablu', 1, 18);
416
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (415, 'Plusle', 9, null);
417
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (416, 'Minun', 9, null);
418
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (417, 'Spoink', 14, null);
419
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (418, 'Qwilfish', 2, 7);
420
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (419, 'Combusken', 5, 13);
421
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (420, 'Azurill', 1, 16);
422
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (421, 'Igglybuff', 1, 16);
423
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (422, 'Togetic', 16, 18);
424
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (423, 'Corsola', 2, 4);
425
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (424, 'Baltoy', 6, 14);
426
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (425, 'Articuno', 17, 18);
427
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (426, 'Lileep', 4, 3);
428
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (427, 'Chimecho', 14, null);
429
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (428, 'Murkrow', 12, 18);
430
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (429, 'Sealeo', 17, 2);
431
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (430, 'Ledyba', 8, 18);
432
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (431, 'Sliggoo', 10, null);
433
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (432, 'Lumineon', 2, null);
434
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (433, 'Shelgon', 10, null);
435
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (434, 'Poochyena', 12, null);
436
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (435, 'Corphish', 2, null);
437
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (436, 'Phanpy', 6, null);
438
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (437, 'Whismur', 1, null);
439
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (438, 'Regirock', 4, null);
440
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (439, 'Registeel', 11, null);
441
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (440, 'Groudon', 6, null);
442
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (441, 'Shuckle', 8, 4);
443
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (442, 'Hitmontop', 13, null);
444
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (443, 'Geodude', 4, 6);
445
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (444, 'Grovyle', 3, null);
446
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (445, 'Marshtomp', 2, 6);
447
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (446, 'Beldum', 11, 14);
448
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (447, 'Wynaut', 14, null);
449
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (448, 'Lotad', 2, 3);
450
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (449, 'Machop', 13, null);
451
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (450, 'Shroomish', 3, null);
452
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (451, 'Turtwig', 3, null);
453
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (452, 'Budew', 3, 7);
454
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (453, 'Combee', 8, 18);
455
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (454, 'Cherubi', 3, null);
456
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (455, 'Gogoat', 3, null);
457
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (456, 'Bonsly', 4, null);
458
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (457, 'Kricketune', 8, null);
459
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (458, 'Abra', 14, null);
460
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (459, 'Ninjask', 8, 18);
461
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (460, 'Wooper', 2, 6);
462
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (461, 'Latios', 10, 14);
463
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (462, 'Natu', 14, 18);
464
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (463, 'Spheal', 17, 2);
465
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (464, 'Whiscash', 2, 6);
466
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (465, 'Shuppet', 15, null);
467
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (466, 'Meditite', 13, 14);
468
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (467, 'Cascoon', 8, null);
469
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (468, 'Feebas', 2, null);
470
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (469, 'Chinchou', 2, 9);
471
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (470, 'Aron', 11, 4);
472
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (471, 'Torchic', 5, null);
473
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (472, 'Fletchinder', 5, 18);
474
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (473, 'Bisharp', 12, 11);
475
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (474, 'Pansear', 5, null);
476
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (475, 'Panpour', 2, null);
477
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (476, 'Sawk', 13, null);
478
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (477, 'Throh', 13, null);
479
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (478, 'Darumaka', 5, null);
480
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (479, 'Bouffalant', 1, null);
481
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (480, 'Boldore', 4, null);
482
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (481, 'Gigalith', 4, null);
483
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (482, 'Minccino', 1, null);
484
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (483, 'Scraggy', 12, 13);
485
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (484, 'Cottonee', 3, 16);
486
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (485, 'Maractus', 3, null);
487
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (486, 'Porygon-Z', 1, null);
488
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (487, 'Pidove', 1, 18);
489
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (488, 'Petilil', 3, null);
490
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (489, 'Tranquill', 1, 18);
491
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (490, 'Munna', 14, null);
492
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (491, 'Swadloon', 8, 3);
493
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (492, 'Dwebble', 8, 4);
494
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (493, 'Croagunk', 7, 13);
495
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (494, 'Blitzle', 9, null);
496
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (495, 'Sandile', 6, 12);
497
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (496, 'Cubone', 6, null);
498
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (497, 'Omanyte', 4, 2);
499
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (498, 'Shieldon', 4, 11);
500
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (499, 'Archeops', 4, 18);
501
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (500, 'Mantyke', 2, 18);
502
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (501, 'Vanillite', 17, null);
503
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (502, 'Woobat', 14, 18);
504
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (503, 'Riolu', 13, null);
505
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (504, 'Timburr', 13, null);
506
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (505, 'Kabuto', 4, 2);
507
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (506, 'Cranidos', 4, null);
508
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (507, 'Carracosta', 2, 4);
509
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (508, 'Fletchling', 1, 18);
510
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (509, 'Bunnelby', 1, null);
511
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (510, 'Pansage', 3, null);
512
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (511, 'Tentacool', 2, 7);
513
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (512, 'Snubbull', 16, null);
514
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (513, 'Houndour', 12, 5);
515
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (514, 'Clauncher', 2, null);
516
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (515, 'Scatterbug', 8, null);
517
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (516, 'Burmy', 8, null);
518
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (517, 'Bidoof', 1, null);
519
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (518, 'Dragalge', 7, 10);
520
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (519, 'Klefki', 11, 16);
521
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (520, 'Cobalion', 11, 13);
522
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (521, 'Terrakion', 4, 13);
523
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (522, 'Virizion', 3, 13);
524
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (523, 'Scrafty', 12, 13);
525
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (524, 'Gurdurr', 13, null);
526
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (525, 'Mienshao', 13, null);
527
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (526, 'Hitmonlee', 13, null);
528
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (527, 'Conkeldurr', 13, null);
529
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (528, 'Hawlucha', 13, 18);
530
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (529, 'Rattata', 1, null);
531
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (530, 'Pidgeotto', 1, 18);
532
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (531, 'Finneon', 2, null);
533
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (532, 'Elekid', 9, null);
534
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (533, 'Espurr', 14, null);
535
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (534, 'Krookodile', 6, 12);
536
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (535, 'Krabby', 2, null);
537
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (536, 'Pidgey', 1, 18);
538
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (537, 'Wurmple', 8, null);
539
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (538, 'Crawdaunt', 2, 12);
540
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (539, 'Stunky', 7, 12);
541
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (540, 'Drifloon', 15, 18);
542
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (541, 'Magby', 5, null);
543
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (542, 'Gulpin', 7, null);
544
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (543, 'Arbok', 7, null);
545
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (544, 'Joltik', 8, 9);
546
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (545, 'Ekans', 7, null);
547
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (546, 'Mankey', 13, null);
548
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (547, 'Venomoth', 8, 7);
549
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (548, 'Spearow', 1, 18);
550
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (549, 'Starly', 1, 18);
551
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (550, 'Infernape', 5, 13);
552
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (551, 'Roggenrola', 4, null);
553
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (552, 'Pangoro', 13, 12);
554
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (553, 'Smoochum', 17, 14);
555
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (554, 'Kyogre', 2, null);
556
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (555, 'Silcoon', 8, null);
557
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (556, 'Mewtwo', 14, null);
558
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (557, 'Golett', 6, 15);
559
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (558, 'Garchomp', 10, 6);
560
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (559, 'Volcarona', 8, 5);
561
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (560, 'Audino', 1, null);
562
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (561, 'Togekiss', 16, 18);
563
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (562, 'Dusknoir', 15, null);
564
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (563, 'Hydreigon', 12, 10);
565
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (564, 'Heatran', 5, 11);
566
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (565, 'Cresselia', 14, null);
567
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (566, 'Musharna', 14, null);
568
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (567, 'Weedle', 8, 7);
569
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (568, 'Caterpie', 8, null);
570
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (569, 'Kakuna', 8, 7);
571
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (570, 'Metapod', 8, null);
572
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (571, 'Kricketot', 8, null);
573
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (572, 'Magikarp', 2, null);
574
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (573, 'Spinarak', 8, 7);
575
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (574, 'Vespiquen', 8, 18);
576
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (575, 'Drowzee', 14, null);
577
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (576, 'Shinx', 9, null);
578
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (577, 'Chimchar', 5, null);
579
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (578, 'Skuntank', 7, 12);
580
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (579, 'Sewaddle', 8, 3);
581
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (580, 'Cleffa', 16, null);
582
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (581, 'Pichu', 9, null);
583
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (582, 'Duskull', 15, null);
584
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (583, 'Unown', 14, null);
585
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (584, 'Munchlax', 1, null);
586
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (585, 'Porygon', 1, null);
587
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (586, 'Gible', 10, 6);
588
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (587, 'Prinplup', 2, null);
589
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (588, 'Whirlipede', 8, 7);
590
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (589, 'Noivern', 18, 10);
591
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (590, 'Pyroar', 5, 1);
592
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (591, 'Florges', 16, null);
593
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (592, 'Clawitzer', 2, null);
594
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (593, 'Barbaracle', 4, 2);
595
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (594, 'Dedenne', 9, 16);
596
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (595, 'Floette', 16, null);
597
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (596, 'Slurpuff', 16, null);
598
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (597, 'Aromatisse', 16, null);
599
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (598, 'Shellos', 2, null);
600
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (599, 'Stunfisk', 6, 9);
601
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (600, 'Frillish', 2, 15);
602
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (601, 'Hippowdon', 6, null);
603
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (602, 'Chatot', 1, 18);
604
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (603, 'Lillipup', 1, null);
605
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (604, 'Venipede', 8, 7);
606
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (605, 'Bastiodon', 4, 11);
607
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (606, 'Tynamo', 9, null);
608
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (607, 'Diggersby', 1, 6);
609
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (608, 'Chingling', 14, null);
610
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (609, 'Trubbish', 7, null);
611
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (610, 'Cinccino', 1, null);
612
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (611, 'Glaceon', 17, null);
613
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (612, 'Leafeon', 3, null);
614
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (613, 'Regigigas', 1, null);
615
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (614, 'Purrloin', 12, null);
616
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (615, 'Nidoran', 7, null);
617
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (616, 'Deerling', 1, 3);
618
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (617, 'Shelmet', 8, null);
619
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (618, 'Patrat', 1, null);
620
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (619, 'Escavalier', 8, 11);
621
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (620, 'Avalugg', 17, null);
622
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (621, 'Vivillon', 8, 18);
623
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (622, 'Heliolisk', 9, 1);
624
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (623, 'Aurorus', 4, 17);
625
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (624, 'Tyrantrum', 4, 10);
626
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (625, 'Yanmega', 8, 18);
627
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (626, 'Spiritomb', 15, 12);
628
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (627, 'Vullaby', 12, 18);
629
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (628, 'Zoroark', 12, null);
630
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (629, 'Amoonguss', 3, 7);
631
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (630, 'Tympole', 2, null);
632
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (631, 'Piplup', 2, null);
633
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (632, 'Empoleon', 2, 11);
634
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (633, 'Furfrou', 1, null);
635
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (634, 'Solosis', 14, null);
636
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (635, 'Larvesta', 8, 5);
637
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (636, 'Foongus', 3, 7);
638
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (637, 'Litwick', 15, 5);
639
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (638, 'Yamask', 15, null);
640
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (639, 'Gothitelle', 14, null);
641
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (640, 'Reuniclus', 14, null);
642
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (641, 'Pancham', 13, null);
643
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (642, 'Litleo', 5, 1);
644
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (643, 'Skiddo', 3, null);
645
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (644, 'Rufflet', 1, 18);
646
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (645, 'Karrablast', 8, null);
647
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (646, 'Lugia', 14, 18);
648
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (647, 'Binacle', 4, 2);
649
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (648, 'Skrelp', 7, 2);
650
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (649, 'Malamar', 12, 14);
651
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (650, 'Zekrom', 10, 9);
652
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (651, 'Reshiram', 10, 5);
653
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (652, 'Happiny', 1, null);
654
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (653, 'Zweilous', 12, 10);
655
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (654, 'Trevenant', 15, 3);
656
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (655, 'Swirlix', 16, null);
657
+INSERT INTO pokemon.pokemons (id, name, primary_type, secondary_type) VALUES (656, 'Spewpa', 8, null);

+ 11861
- 0
pokemon_sql 2/pokemon_trainers.sql
文件差异内容过多而无法显示
查看文件


+ 19
- 0
pokemon_sql 2/pokemon_types.sql 查看文件

@@ -0,0 +1,19 @@
1
+create table types(id int auto_increment primary key,name text not null);
2
+INSERT INTO pokemon.types (id, name) VALUES (1, 'Normal');
3
+INSERT INTO pokemon.types (id, name) VALUES (2, 'Water');
4
+INSERT INTO pokemon.types (id, name) VALUES (3, 'Grass');
5
+INSERT INTO pokemon.types (id, name) VALUES (4, 'Rock');
6
+INSERT INTO pokemon.types (id, name) VALUES (5, 'Fire');
7
+INSERT INTO pokemon.types (id, name) VALUES (6, 'Ground');
8
+INSERT INTO pokemon.types (id, name) VALUES (7, 'Poison');
9
+INSERT INTO pokemon.types (id, name) VALUES (8, 'Bug');
10
+INSERT INTO pokemon.types (id, name) VALUES (9, 'Electric');
11
+INSERT INTO pokemon.types (id, name) VALUES (10, 'Dragon');
12
+INSERT INTO pokemon.types (id, name) VALUES (11, 'Steel');
13
+INSERT INTO pokemon.types (id, name) VALUES (12, 'Dark');
14
+INSERT INTO pokemon.types (id, name) VALUES (13, 'Fighting');
15
+INSERT INTO pokemon.types (id, name) VALUES (14, 'Psychic');
16
+INSERT INTO pokemon.types (id, name) VALUES (15, 'Ghost');
17
+INSERT INTO pokemon.types (id, name) VALUES (16, 'Fairy');
18
+INSERT INTO pokemon.types (id, name) VALUES (17, 'Ice');
19
+INSERT INTO pokemon.types (id, name) VALUES (18, 'Flying');

+ 49
- 0
pom.xml 查看文件

@@ -0,0 +1,49 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>mysql</groupId>
8
+    <artifactId>mysql-connector-java</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+    <build>
11
+        <plugins>
12
+            <plugin>
13
+                <groupId>org.apache.maven.plugins</groupId>
14
+                <artifactId>maven-compiler-plugin</artifactId>
15
+                <configuration>
16
+                    <source>7</source>
17
+                    <target>7</target>
18
+                </configuration>
19
+            </plugin>
20
+        </plugins>
21
+    </build>
22
+
23
+    <!-- https://mvnrepository.com/artifact/com.j256.ormlite/ormlite-core -->
24
+    <dependencies>
25
+    <dependency>
26
+        <groupId>com.j256.ormlite</groupId>
27
+        <artifactId>ormlite-core</artifactId>
28
+        <version>4.48</version>
29
+    </dependency>
30
+
31
+    <!-- https://mvnrepository.com/artifact/com.j256.ormlite/ormlite-jdbc -->
32
+    <dependency>
33
+        <groupId>com.j256.ormlite</groupId>
34
+        <artifactId>ormlite-jdbc</artifactId>
35
+        <version>4.48</version>
36
+    </dependency>
37
+
38
+    <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
39
+    <dependency>
40
+        <groupId>mysql</groupId>
41
+        <artifactId>mysql-connector-java</artifactId>
42
+        <version>8.0.12</version>
43
+    </dependency>
44
+    </dependencies>
45
+
46
+
47
+
48
+
49
+</project>

+ 65
- 0
src/main/java/Account.java 查看文件

@@ -0,0 +1,65 @@
1
+import com.j256.ormlite.field.DatabaseField;
2
+import com.j256.ormlite.table.DatabaseTable;
3
+
4
+@DatabaseTable(tableName = "account")
5
+public class Account {
6
+    public static final String NAME_FIELD_NAME = "name";
7
+    public static final String PASSWORD_FIELD_NAME = "password";
8
+
9
+    @DatabaseField(columnName = "id", generatedId = true)
10
+    private int id;
11
+
12
+    @DatabaseField(columnName = "name", canBeNull = false)
13
+    private String name;
14
+
15
+    @DatabaseField(columnName = "password")
16
+    private String password;
17
+
18
+    Account() {
19
+        // all persisted classes must define a no-arg constructor with at least package visibility
20
+    }
21
+
22
+    public Account(String name) {
23
+        this.name = name;
24
+    }
25
+
26
+    public Account(String name, String password) {
27
+        this.name = name;
28
+        this.password = password;
29
+    }
30
+
31
+    public int getId() {
32
+        return id;
33
+    }
34
+
35
+    public String getName() {
36
+        return name;
37
+    }
38
+
39
+    public void setName(String name) {
40
+        this.name = name;
41
+    }
42
+
43
+    public String getPassword() {
44
+        return password;
45
+    }
46
+
47
+    public void setPassword(String password) {
48
+        this.password = password;
49
+    }
50
+
51
+    @Override
52
+    public int hashCode() {
53
+        return name.hashCode();
54
+    }
55
+
56
+    @Override
57
+    public boolean equals(Object other) {
58
+        if (other == null || other.getClass() != getClass()) {
59
+            return false;
60
+        }
61
+        return name.equals(((Account) other).name);
62
+    }
63
+}
64
+
65
+

+ 209
- 0
src/main/java/AccountApp.java 查看文件

@@ -0,0 +1,209 @@
1
+import com.j256.ormlite.dao.Dao;
2
+import com.j256.ormlite.dao.DaoManager;
3
+import com.j256.ormlite.jdbc.JdbcConnectionSource;
4
+import com.j256.ormlite.support.ConnectionSource;
5
+
6
+import java.io.Console;
7
+import java.util.ArrayList;
8
+import java.util.List;
9
+
10
+public class AccountApp {
11
+
12
+
13
+    public final static String YOURUSERNAME = "root";
14
+    public final static String YOURPASSWORD = "KrY$h0nD@";
15
+
16
+
17
+    // we are using a MySQl database
18
+    private final static String DATABASE_URL = "jdbc:mysql://localhost:3306/orm_lab?useUnicode=true";
19
+
20
+    private Dao<Account, Integer> accountDao;
21
+    private AccountService accountService;
22
+
23
+    private boolean running = true;
24
+    private Console console = System.console();
25
+
26
+
27
+    public static void main(String[] args) throws Exception {
28
+        // turn our static method into an instance of Main
29
+        new AccountApp().doMain(args);
30
+    }
31
+
32
+    private void doMain(String[] args) throws Exception {
33
+        ConnectionSource connectionSource = null;
34
+        try {
35
+            // create our data-source for the database
36
+            connectionSource = new JdbcConnectionSource(DATABASE_URL, YOURUSERNAME, YOURPASSWORD);
37
+            // setup our  DAOs
38
+            setupDao(connectionSource);
39
+            // read, write and delete some data
40
+
41
+            setupDao(connectionSource);
42
+
43
+            setupAccountServ(accountDao);
44
+
45
+            run();
46
+
47
+            System.out.println("\n\nStarting to work... \n\n");
48
+        } finally {
49
+            // destroy the data source which should close underlying connections
50
+            if (connectionSource != null) {
51
+                connectionSource.close();
52
+            }
53
+        }
54
+    }
55
+
56
+
57
+    private void run() throws Exception{
58
+        Account account = createAccount();
59
+        accountService.create(account);
60
+        boolean success = signin();
61
+        if(success){
62
+            activeAccount = account;
63
+            while(running == true){
64
+                menu();
65
+            }
66
+        }
67
+    }
68
+
69
+    public int changeUsername(){
70
+        Console.println("Enter your username: ");
71
+        String user = console.next();
72
+        return accountService.changeUsername(activeAccount, user);
73
+    }
74
+
75
+    public void deleteAccount(){
76
+        boolean check = checkPassword();
77
+        if(check){
78
+            accountService.deleteAccount(activeAccount);
79
+        }else{
80
+            Console.println("Incorrect password!");
81
+        }
82
+    }
83
+
84
+    public int changePassword(){
85
+        Console.println("Enter your new password: ");
86
+        String password = console.next();
87
+        return accountService.changePassword(activeAccount, password);
88
+    }
89
+
90
+    private void menu(){
91
+        Console.printMenu();
92
+        String option = "";
93
+        while(!option.equals("quit")) {
94
+            option = console.next();
95
+            switch(option.toLowerCase()) {
96
+                case "change username":
97
+                    changeUsername();
98
+                    break;
99
+                case "delete account":
100
+                    deleteAccount();
101
+                    Console.println("Account has been successfully deleted");
102
+                    break;
103
+                case "change password":
104
+                    changePassword();
105
+                    break;
106
+                case "quit":
107
+                    running = false;
108
+                    break;
109
+                default:
110
+                    Console.println("Sorry, that command is not recognized");
111
+            }
112
+        }
113
+    }
114
+
115
+    public Account createAccount() throws Exception{
116
+        List<Account> result;
117
+        Console.println("If you'd like to sign up, enter a UserName: ");
118
+        String input, username = "";
119
+        while(username.equals("")){
120
+            input = console.next();
121
+            result = this.accountService.query(input, Account.NAME_FIELD_NAME);
122
+            if(result.size()>0){
123
+                Console.println("Username already taken..try again!");
124
+            } else {
125
+                username = input;
126
+            }
127
+        }
128
+        Console.println("Hello " + username + ", Now its time for the password:");
129
+        String password = console.next();
130
+        Account account = new Account(username,password);
131
+        return account;
132
+    }
133
+
134
+    public boolean checkPassword(){
135
+        Console.println("Enter your password:");
136
+        String password = console.next();
137
+        return accountService.checkPassword(activeAccount, password);
138
+    }
139
+
140
+    public String getUsername(){
141
+        List<Account> result;
142
+        Console.println("Enter your username: ");
143
+        String newName = "", input = "";
144
+        while(newName == "") {
145
+            input = console.next();
146
+            result = this.accountService.query(input, Account.NAME_FIELD_NAME);
147
+            if(result.size() ==0){
148
+                Console.println("Does not exist!");
149
+            } else {
150
+                return input;
151
+            }
152
+        }
153
+        return null;
154
+    }
155
+
156
+    public boolean signOnPassword(String username){
157
+        Console.println("Enter your password: ");
158
+        List<Account> account = new ArrayList<>();
159
+        while(account.size() == 0){
160
+            String oldSubmits = console.next();
161
+            account = this.accountService.multipleQuery(username, oldSubmits,Account.NAME_FIELD_NAME, Account.PASSWORD_FIELD_NAME);
162
+            if(account.size() ==1){
163
+                Console.println("Signed in.");
164
+            }else{
165
+                Console.println("Wrong password, try again: ");
166
+            }
167
+        }
168
+        return false;
169
+    }
170
+
171
+    public boolean signOn(){
172
+        String username = getUsername();
173
+        return signOnPassword(username);
174
+    }
175
+
176
+
177
+    /**
178
+     * Read and write some example data.
179
+     */
180
+    private void processData() throws Exception {
181
+        // create an instance of Account
182
+        String name = "Jim Coakley";
183
+        Account account = new Account(name);
184
+
185
+        // persist the account object to the database
186
+        accountDao.create(account);
187
+        int id = account.getId();
188
+        System.out.println(id);
189
+        // assign a password
190
+        account.setPassword("_secret");
191
+        // update the database after changing the object
192
+        accountDao.update(account);
193
+        // delete the account
194
+        //accountDao.deleteById(id);
195
+    }
196
+
197
+    /**
198
+     * Setup our  DAOs
199
+     */
200
+    private void setupDao(ConnectionSource connectionSource) throws Exception {
201
+
202
+        accountDao = DaoManager.createDao(connectionSource, Account.class);
203
+
204
+    }
205
+
206
+    private void setupAccountServ(Dao<Account,Integer> dao){
207
+        this.accountService = new AccountService(dao);
208
+    }
209
+}

+ 51
- 0
src/main/java/AccountService.java 查看文件

@@ -0,0 +1,51 @@
1
+import com.j256.ormlite.dao.Dao;
2
+import com.j256.ormlite.support.ConnectionSource;
3
+import com.mysql.cj.xdevapi.SqlDataResult;
4
+
5
+import java.sql.SQLException;
6
+import java.util.List;
7
+import java.util.Scanner;
8
+
9
+public class AccountService {
10
+
11
+    Scanner scanner = new Scanner(System.in);
12
+    Dao<Account,Integer> accountDao;
13
+
14
+    public AccountService(Dao<Account, Integer> accountDao){
15
+        this.accountDao = accountDao;
16
+    }
17
+
18
+    public void crudOperations() throws SQLException{
19
+        String option = scanner.nextLine();
20
+        String input = scanner.nextLine();
21
+
22
+            switch (option){
23
+                case "read": read();
24
+                break;
25
+                case "create": create(new Account(input));
26
+                break;
27
+                case "update" : update(new Account(input));
28
+                break;
29
+                case "delete" : delete(new Account(input));
30
+                break;
31
+
32
+
33
+            }
34
+    }
35
+
36
+    public int create(Account account) throws SQLException{
37
+        return accountDao.create(account);
38
+    }
39
+
40
+    public List<Account> read() throws SQLException{
41
+        return accountDao.queryForAll();
42
+    }
43
+
44
+    public int update(Account account) throws SQLException{
45
+        return accountDao.update(account);
46
+    }
47
+
48
+    public int delete(int id) throws SQLException{
49
+        return accountDao.delete(id);
50
+    }
51
+}

+ 21
- 0
src/main/java/Console.java 查看文件

@@ -0,0 +1,21 @@
1
+import java.util.Scanner;
2
+
3
+public class Console {
4
+
5
+    Scanner scanner = new Scanner(System.in);
6
+
7
+    public static void println(String input){
8
+        System.out.println(input);
9
+    }
10
+
11
+    public String next(){
12
+        return scanner.nextLine();
13
+    }
14
+
15
+    public static void printMenu(){
16
+        Console.println("Which option: ");
17
+        Console.println("Change Password?");
18
+        Console.println("Change username?");
19
+        Console.println("Delete account?");
20
+    }
21
+}

+ 2
- 0
src/main/java/DatabaseConnection.java 查看文件

@@ -0,0 +1,2 @@
1
+public interface DatabaseConnection {
2
+}

+ 305
- 0
src/main/java/MockDao.java 查看文件

@@ -0,0 +1,305 @@
1
+import com.j256.ormlite.dao.*;
2
+import com.j256.ormlite.field.DataType;
3
+import com.j256.ormlite.field.FieldType;
4
+import com.j256.ormlite.stmt.*;
5
+import com.j256.ormlite.support.ConnectionSource;
6
+import com.j256.ormlite.support.DatabaseConnection;
7
+import com.j256.ormlite.support.DatabaseResults;
8
+import com.j256.ormlite.table.ObjectFactory;
9
+
10
+import java.sql.SQLException;
11
+import java.util.ArrayList;
12
+import java.util.Collection;
13
+import java.util.List;
14
+import java.util.Map;
15
+import java.util.concurrent.Callable;
16
+
17
+public class MockDao implements Dao<Account,Integer> {
18
+
19
+    Account account = new Account();
20
+
21
+    public Account queryForId(Integer integer) throws SQLException {
22
+        return null;
23
+    }
24
+
25
+    public Account queryForFirst(PreparedQuery<Account> preparedQuery) throws SQLException {
26
+        return null;
27
+    }
28
+
29
+    public List<Account> queryForAll() throws SQLException {
30
+        List<Account> accounts = new ArrayList<>();
31
+        return null;
32
+    }
33
+
34
+    public List<Account> queryForEq(String s, Object o) throws SQLException {
35
+        return null;
36
+    }
37
+
38
+    public List<Account> queryForMatching(Account account) throws SQLException {
39
+        return null;
40
+    }
41
+
42
+    public List<Account> queryForMatchingArgs(Account account) throws SQLException {
43
+        return null;
44
+    }
45
+
46
+    public List<Account> queryForFieldValues(Map<String, Object> map) throws SQLException {
47
+        return null;
48
+    }
49
+
50
+    public List<Account> queryForFieldValuesArgs(Map<String, Object> map) throws SQLException {
51
+        return null;
52
+    }
53
+
54
+    public Account queryForSameId(Account account) throws SQLException {
55
+        return null;
56
+    }
57
+
58
+    public QueryBuilder<Account, Integer> queryBuilder() {
59
+        return null;
60
+    }
61
+
62
+    public UpdateBuilder<Account, Integer> updateBuilder() {
63
+        return null;
64
+    }
65
+
66
+    public DeleteBuilder<Account, Integer> deleteBuilder() {
67
+        return null;
68
+    }
69
+
70
+    public List<Account> query(PreparedQuery<Account> preparedQuery) throws SQLException {
71
+        return null;
72
+    }
73
+
74
+    public int create(Account account) throws SQLException {
75
+        return 1112;
76
+    }
77
+
78
+    public Account createIfNotExists(Account account) throws SQLException {
79
+        return null;
80
+    }
81
+
82
+    public CreateOrUpdateStatus createOrUpdate(Account account) throws SQLException {
83
+        return null;
84
+    }
85
+
86
+    public int update(Account account) throws SQLException {
87
+        return 0;
88
+    }
89
+
90
+    public int updateId(Account account, Integer integer) throws SQLException {
91
+        return 0;
92
+    }
93
+
94
+    public int update(PreparedUpdate<Account> preparedUpdate) throws SQLException {
95
+        return 0;
96
+    }
97
+
98
+    public int refresh(Account account) throws SQLException {
99
+        return 0;
100
+    }
101
+
102
+    public int delete(Account account) throws SQLException {
103
+        return 0;
104
+    }
105
+
106
+    public int deleteById(Integer integer) throws SQLException {
107
+        return 0;
108
+    }
109
+
110
+    public int delete(Collection<Account> collection) throws SQLException {
111
+        return 0;
112
+    }
113
+
114
+    public int deleteIds(Collection<Integer> collection) throws SQLException {
115
+        return 0;
116
+    }
117
+
118
+    public int delete(PreparedDelete<Account> preparedDelete) throws SQLException {
119
+        return 0;
120
+    }
121
+
122
+    public CloseableIterator<Account> iterator() {
123
+        return null;
124
+    }
125
+
126
+    public CloseableIterator<Account> iterator(int i) {
127
+        return null;
128
+    }
129
+
130
+    public CloseableIterator<Account> iterator(PreparedQuery<Account> preparedQuery) throws SQLException {
131
+        return null;
132
+    }
133
+
134
+    public CloseableIterator<Account> iterator(PreparedQuery<Account> preparedQuery, int i) throws SQLException {
135
+        return null;
136
+    }
137
+
138
+    public CloseableWrappedIterable<Account> getWrappedIterable() {
139
+        return null;
140
+    }
141
+
142
+    public CloseableWrappedIterable<Account> getWrappedIterable(PreparedQuery<Account> preparedQuery) {
143
+        return null;
144
+    }
145
+
146
+    public void closeLastIterator() throws SQLException {
147
+
148
+    }
149
+
150
+    public GenericRawResults<String[]> queryRaw(String s, String... strings) throws SQLException {
151
+        return null;
152
+    }
153
+
154
+    public <UO> GenericRawResults<UO> queryRaw(String s, RawRowMapper<UO> rawRowMapper, String... strings) throws SQLException {
155
+        return null;
156
+    }
157
+
158
+    public <UO> GenericRawResults<UO> queryRaw(String s, DataType[] dataTypes, RawRowObjectMapper<UO> rawRowObjectMapper, String... strings) throws SQLException {
159
+        return null;
160
+    }
161
+
162
+    public GenericRawResults<Object[]> queryRaw(String s, DataType[] dataTypes, String... strings) throws SQLException {
163
+        return null;
164
+    }
165
+
166
+    public long queryRawValue(String s, String... strings) throws SQLException {
167
+        return 0;
168
+    }
169
+
170
+    public int executeRaw(String s, String... strings) throws SQLException {
171
+        return 0;
172
+    }
173
+
174
+    public int executeRawNoArgs(String s) throws SQLException {
175
+        return 0;
176
+    }
177
+
178
+    public int updateRaw(String s, String... strings) throws SQLException {
179
+        return 0;
180
+    }
181
+
182
+    public <CT> CT callBatchTasks(Callable<CT> callable) throws Exception {
183
+        return null;
184
+    }
185
+
186
+    public String objectToString(Account account) {
187
+        return null;
188
+    }
189
+
190
+    public boolean objectsEqual(Account account, Account t1) throws SQLException {
191
+        return false;
192
+    }
193
+
194
+    public Integer extractId(Account account) throws SQLException {
195
+        return null;
196
+    }
197
+
198
+    public Class<Account> getDataClass() {
199
+        return null;
200
+    }
201
+
202
+    public FieldType findForeignFieldType(Class<?> aClass) {
203
+        return null;
204
+    }
205
+
206
+    public boolean isUpdatable() {
207
+        return false;
208
+    }
209
+
210
+    public boolean isTableExists() throws SQLException {
211
+        return false;
212
+    }
213
+
214
+    public long countOf() throws SQLException {
215
+        return 0;
216
+    }
217
+
218
+    public long countOf(PreparedQuery<Account> preparedQuery) throws SQLException {
219
+        return 0;
220
+    }
221
+
222
+    public void assignEmptyForeignCollection(Account account, String s) throws SQLException {
223
+
224
+    }
225
+
226
+    public <FT> ForeignCollection<FT> getEmptyForeignCollection(String s) throws SQLException {
227
+        return null;
228
+    }
229
+
230
+    public void setObjectCache(boolean b) throws SQLException {
231
+
232
+    }
233
+
234
+    public void setObjectCache(ObjectCache objectCache) throws SQLException {
235
+
236
+    }
237
+
238
+    public ObjectCache getObjectCache() {
239
+        return null;
240
+    }
241
+
242
+    public void clearObjectCache() {
243
+
244
+    }
245
+
246
+    public Account mapSelectStarRow(DatabaseResults databaseResults) throws SQLException {
247
+        return null;
248
+    }
249
+
250
+    public GenericRowMapper<Account> getSelectStarRowMapper() throws SQLException {
251
+        return null;
252
+    }
253
+
254
+    public RawRowMapper<Account> getRawRowMapper() {
255
+        return null;
256
+    }
257
+
258
+    public boolean idExists(Integer integer) throws SQLException {
259
+        return false;
260
+    }
261
+
262
+    public DatabaseConnection startThreadConnection() throws SQLException {
263
+        return null;
264
+    }
265
+
266
+    public void endThreadConnection(DatabaseConnection databaseConnection) throws SQLException {
267
+
268
+    }
269
+
270
+    public void setAutoCommit(boolean b) throws SQLException {
271
+
272
+    }
273
+
274
+    public void setAutoCommit(DatabaseConnection databaseConnection, boolean b) throws SQLException {
275
+
276
+    }
277
+
278
+    public boolean isAutoCommit() throws SQLException {
279
+        return false;
280
+    }
281
+
282
+    public boolean isAutoCommit(DatabaseConnection databaseConnection) throws SQLException {
283
+        return false;
284
+    }
285
+
286
+    public void commit(DatabaseConnection databaseConnection) throws SQLException {
287
+
288
+    }
289
+
290
+    public void rollBack(DatabaseConnection databaseConnection) throws SQLException {
291
+
292
+    }
293
+
294
+    public ConnectionSource getConnectionSource() {
295
+        return null;
296
+    }
297
+
298
+    public void setObjectFactory(ObjectFactory<Account> objectFactory) {
299
+
300
+    }
301
+
302
+    public CloseableIterator<Account> closeableIterator() {
303
+        return null;
304
+    }
305
+}

+ 36
- 0
src/main/java/MySQLDriver.java 查看文件

@@ -0,0 +1,36 @@
1
+import com.j256.ormlite.dao.Dao;
2
+import com.j256.ormlite.dao.DaoManager;
3
+import com.j256.ormlite.support.ConnectionSource;
4
+
5
+import java.util.List;
6
+
7
+public class MySQLDriver implements DatabaseConnection{
8
+    ConnectionSource cs;
9
+
10
+    public MySQLDriver(ConnectionSource connectionSource){
11
+        this.cs = connectionSource;
12
+    }
13
+
14
+    private void setupDao(ConnectionSource connectionSource) throws Exception{
15
+
16
+        accountDao = DaoManager.createDao(connectionSource,Account.class);
17
+
18
+    }
19
+
20
+    public String create(Dao<Account, Integer> dao, Account account) throws Exception{
21
+
22
+        accountDao.create(account);
23
+        int id = account.getId();
24
+        System.out.println(id);
25
+        return "Account for " + account.getName() + " | id:" + account.getId() + " has been created.";
26
+
27
+    }
28
+
29
+    public List<String> read(Dao<Account, Integer> dao, Account account){
30
+        return null;
31
+    }
32
+
33
+    public void update(Dao<Account, Integer> dao, Account account)throws Exception{
34
+        accountDao.update
35
+    }
36
+}

+ 20
- 0
src/test/java/AccountServiceTest.java 查看文件

@@ -0,0 +1,20 @@
1
+import com.j256.ormlite.dao.Dao;
2
+
3
+public class AccountServiceTest {
4
+
5
+    private AccountService service;
6
+    private Dao<Account, Integer>
7
+
8
+
9
+
10
+    @Test
11
+    public void create() throws SqlException{
12
+        Account account = new Account();
13
+        int expected = 1112;
14
+
15
+        int actual = service.create(account);
16
+
17
+        Assert.assertEqual
18
+    }
19
+
20
+}

二进制
target/classes/Account.class 查看文件


二进制
target/classes/AccountApp.class 查看文件