Pārlūkot izejas kodu

Gotta Catch'Em All

Stwillia94 6 gadus atpakaļ
vecāks
revīzija
db73b99366

+ 9
- 0
.idea/PokemonSqlLab.iml Parādīt failu

@@ -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 Parādīt failu

@@ -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="34c9de41-d268-4949-a7ef-691556081c09">
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>*:@,pokemon</introspection-schemas>
13
+    </data-source>
14
+  </component>
15
+</project>

+ 19
- 0
.idea/dataSources.xml Parādīt failu

@@ -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="34c9de41-d268-4949-a7ef-691556081c09">
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>

+ 4264
- 0
.idea/dataSources/34c9de41-d268-4949-a7ef-691556081c09.xml
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 6
- 0
.idea/misc.xml Parādīt failu

@@ -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 Parādīt failu

@@ -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>

+ 9
- 0
.idea/sqldialects.xml Parādīt failu

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="SqlDialectMappings">
4
+    <file url="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemon_trainer.sql" dialect="MySQL" />
5
+    <file url="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemons.sql" dialect="MySQL" />
6
+    <file url="file://$PROJECT_DIR$/pokemon_sql/pokemon_trainers.sql" dialect="MySQL" />
7
+    <file url="file://$PROJECT_DIR$/pokemon_sql/pokemon_types.sql" dialect="MySQL" />
8
+  </component>
9
+</project>

+ 6
- 0
.idea/vcs.xml Parādīt failu

@@ -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>

+ 351
- 0
.idea/workspace.xml Parādīt failu

@@ -0,0 +1,351 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="0134e3e0-4501-40be-92cf-97d88237ef34" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/sqldialects.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
9
+    </list>
10
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
11
+    <option name="SHOW_DIALOG" value="false" />
12
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
13
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14
+    <option name="LAST_RESOLUTION" value="IGNORE" />
15
+  </component>
16
+  <component name="DatabaseView">
17
+    <option name="SHOW_INTERMEDIATE" value="true" />
18
+    <option name="GROUP_DATA_SOURCES" value="true" />
19
+    <option name="GROUP_SCHEMA" value="true" />
20
+    <option name="GROUP_CONTENTS" value="false" />
21
+    <option name="SORT_POSITIONED" value="false" />
22
+    <option name="SHOW_EMPTY_GROUPS" value="false" />
23
+    <option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
24
+    <option name="HIDDEN_KINDS">
25
+      <set />
26
+    </option>
27
+    <expand>
28
+      <path>
29
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
30
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
31
+      </path>
32
+      <path>
33
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
34
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
35
+        <item name="schemas" type="d4e8921:DatabaseStructure$FamilyGroup" />
36
+      </path>
37
+      <path>
38
+        <item name="Database" type="3277223f:DatabaseStructure$DbRootGroup" />
39
+        <item name="@localhost" type="feb32156:DbDataSourceImpl" />
40
+        <item name="schemas" type="d4e8921:DatabaseStructure$FamilyGroup" />
41
+        <item name="pokemon: schema" type="c314c289:MysqlImplModel$Schema" />
42
+      </path>
43
+    </expand>
44
+    <select />
45
+  </component>
46
+  <component name="FUSProjectUsageTrigger">
47
+    <session id="-1840465853">
48
+      <usages-collector id="statistics.lifecycle.project">
49
+        <counts>
50
+          <entry key="project.open.time.2" value="1" />
51
+          <entry key="project.opened" value="1" />
52
+        </counts>
53
+      </usages-collector>
54
+      <usages-collector id="statistics.file.extensions.open">
55
+        <counts>
56
+          <entry key="md" value="4" />
57
+          <entry key="pokemon_trainer" value="2" />
58
+          <entry key="pokemons" value="4" />
59
+          <entry key="sql" value="3" />
60
+          <entry key="trainers" value="4" />
61
+          <entry key="types" value="2" />
62
+        </counts>
63
+      </usages-collector>
64
+      <usages-collector id="statistics.file.types.open">
65
+        <counts>
66
+          <entry key="Database Element" value="12" />
67
+          <entry key="Markdown" value="4" />
68
+          <entry key="Scratch" value="3" />
69
+        </counts>
70
+      </usages-collector>
71
+      <usages-collector id="statistics.file.extensions.edit">
72
+        <counts>
73
+          <entry key="md" value="2" />
74
+          <entry key="sql" value="2660" />
75
+        </counts>
76
+      </usages-collector>
77
+      <usages-collector id="statistics.file.types.edit">
78
+        <counts>
79
+          <entry key="Markdown" value="2" />
80
+          <entry key="Scratch" value="2660" />
81
+        </counts>
82
+      </usages-collector>
83
+    </session>
84
+  </component>
85
+  <component name="FileEditorManager">
86
+    <splitter split-orientation="horizontal" split-proportion="0.9">
87
+      <split-first>
88
+        <leaf>
89
+          <file pinned="false" current-in-tab="true">
90
+            <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/34c9de41-d268-4949-a7ef-691556081c09/console.sql">
91
+              <provider selected="true" editor-type-id="text-editor">
92
+                <state relative-caret-position="542">
93
+                  <caret line="78" column="56" lean-forward="true" selection-start-line="72" selection-end-line="82" />
94
+                </state>
95
+              </provider>
96
+            </entry>
97
+          </file>
98
+        </leaf>
99
+      </split-first>
100
+      <split-second>
101
+        <leaf>
102
+          <file pinned="false" current-in-tab="true">
103
+            <entry file="file://$PROJECT_DIR$/README.md">
104
+              <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
105
+                <state split_layout="SECOND">
106
+                  <first_editor relative-caret-position="527">
107
+                    <caret line="60" selection-start-line="60" selection-end-line="60" />
108
+                  </first_editor>
109
+                  <second_editor />
110
+                </state>
111
+              </provider>
112
+            </entry>
113
+          </file>
114
+        </leaf>
115
+      </split-second>
116
+    </splitter>
117
+  </component>
118
+  <component name="FindInProjectRecents">
119
+    <findStrings>
120
+      <find>War</find>
121
+    </findStrings>
122
+  </component>
123
+  <component name="Git.Settings">
124
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
125
+  </component>
126
+  <component name="IdeDocumentHistory">
127
+    <option name="CHANGED_PATHS">
128
+      <list>
129
+        <option value="$PROJECT_DIR$/README.md" />
130
+        <option value="$APPLICATION_CONFIG_DIR$/consoles/db/34c9de41-d268-4949-a7ef-691556081c09/console.sql" />
131
+      </list>
132
+    </option>
133
+  </component>
134
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
135
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
136
+  <component name="JsGulpfileManager">
137
+    <detection-done>true</detection-done>
138
+    <sorting>DEFINITION_ORDER</sorting>
139
+  </component>
140
+  <component name="ProjectFrameBounds" fullScreen="true">
141
+    <option name="x" value="-336" />
142
+    <option name="y" value="-1057" />
143
+    <option name="width" value="1440" />
144
+    <option name="height" value="811" />
145
+  </component>
146
+  <component name="ProjectView">
147
+    <navigator proportions="" version="1">
148
+      <foldersAlwaysOnTop value="true" />
149
+    </navigator>
150
+    <panes>
151
+      <pane id="ProjectPane">
152
+        <subPane>
153
+          <expand>
154
+            <path>
155
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
156
+              <item name="PokemonSqlLab" type="462c0819:PsiDirectoryNode" />
157
+            </path>
158
+            <path>
159
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
160
+              <item name="PokemonSqlLab" type="462c0819:PsiDirectoryNode" />
161
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
162
+            </path>
163
+            <path>
164
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
165
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
166
+            </path>
167
+            <path>
168
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
169
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
170
+              <item name="Database Consoles" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
171
+            </path>
172
+          </expand>
173
+          <select />
174
+        </subPane>
175
+      </pane>
176
+      <pane id="PackagesPane" />
177
+      <pane id="Scope" />
178
+    </panes>
179
+  </component>
180
+  <component name="PropertiesComponent">
181
+    <property name="DatabaseDriversLRU" value="mysql" />
182
+    <property name="WebServerToolWindowFactoryState" value="false" />
183
+    <property name="aspect.path.notification.shown" value="true" />
184
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1541987408835" />
185
+    <property name="database.console.LAST_STATE" value="true" />
186
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
187
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
188
+  </component>
189
+  <component name="RunDashboard">
190
+    <option name="ruleStates">
191
+      <list>
192
+        <RuleState>
193
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
194
+        </RuleState>
195
+        <RuleState>
196
+          <option name="name" value="StatusDashboardGroupingRule" />
197
+        </RuleState>
198
+      </list>
199
+    </option>
200
+  </component>
201
+  <component name="SvnConfiguration">
202
+    <configuration />
203
+  </component>
204
+  <component name="TaskManager">
205
+    <task active="true" id="Default" summary="Default task">
206
+      <changelist id="0134e3e0-4501-40be-92cf-97d88237ef34" name="Default Changelist" comment="" />
207
+      <created>1541966309671</created>
208
+      <option name="number" value="Default" />
209
+      <option name="presentableId" value="Default" />
210
+      <updated>1541966309671</updated>
211
+      <workItem from="1541966311402" duration="18313000" />
212
+    </task>
213
+    <servers />
214
+  </component>
215
+  <component name="TimeTrackingManager">
216
+    <option name="totallyTimeSpent" value="18313000" />
217
+  </component>
218
+  <component name="ToolWindowManager">
219
+    <frame x="-336" y="-1080" width="1920" height="1080" extended-state="0" />
220
+    <editor active="true" />
221
+    <layout>
222
+      <window_info id="Image Layers" />
223
+      <window_info id="Designer" />
224
+      <window_info id="UI Designer" />
225
+      <window_info id="Capture Tool" />
226
+      <window_info id="Favorites" side_tool="true" />
227
+      <window_info content_ui="combo" id="Project" order="0" weight="0.24973376" />
228
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
229
+      <window_info anchor="bottom" id="Database Changes" />
230
+      <window_info anchor="bottom" id="Version Control" />
231
+      <window_info active="true" anchor="bottom" id="Database Console" visible="true" weight="0.280198" />
232
+      <window_info anchor="bottom" id="Terminal" weight="0.32871288" />
233
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
234
+      <window_info anchor="bottom" id="Message" order="0" />
235
+      <window_info anchor="bottom" id="Find" order="1" />
236
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32871288" />
237
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
238
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
239
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
240
+      <window_info anchor="bottom" id="TODO" order="6" />
241
+      <window_info anchor="right" id="Palette" />
242
+      <window_info anchor="right" id="Theme Preview" />
243
+      <window_info anchor="right" id="Capture Analysis" />
244
+      <window_info anchor="right" id="Palette&#9;" />
245
+      <window_info anchor="right" id="Database" visible="true" weight="0.36794463" />
246
+      <window_info anchor="right" id="Maven Projects" />
247
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
248
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
249
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
250
+    </layout>
251
+    <layout-to-restore>
252
+      <window_info id="Image Layers" order="0" />
253
+      <window_info id="Designer" order="1" />
254
+      <window_info id="Capture Tool" order="2" />
255
+      <window_info id="UI Designer" order="3" />
256
+      <window_info id="Favorites" order="4" side_tool="true" />
257
+      <window_info content_ui="combo" id="Project" order="5" weight="0.24973376" />
258
+      <window_info id="Structure" order="6" side_tool="true" weight="0.25" />
259
+      <window_info anchor="bottom" id="Version Control" order="0" />
260
+      <window_info anchor="bottom" id="Terminal" order="1" weight="0.32962447" />
261
+      <window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
262
+      <window_info anchor="bottom" id="Database Changes" order="3" />
263
+      <window_info active="true" anchor="bottom" id="Database Console" order="4" visible="true" weight="0.4128713" />
264
+      <window_info anchor="bottom" id="Message" order="5" />
265
+      <window_info anchor="bottom" id="Find" order="6" />
266
+      <window_info anchor="bottom" id="Run" order="7" weight="0.32871288" />
267
+      <window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
268
+      <window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
269
+      <window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
270
+      <window_info anchor="bottom" id="TODO" order="11" />
271
+      <window_info anchor="right" id="Palette" order="0" />
272
+      <window_info anchor="right" id="Capture Analysis" order="1" />
273
+      <window_info anchor="right" id="Theme Preview" order="2" />
274
+      <window_info anchor="right" id="Palette&#9;" order="3" />
275
+      <window_info anchor="right" id="Database" order="4" visible="true" weight="0.21512248" />
276
+      <window_info anchor="right" id="Maven Projects" order="5" />
277
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" />
278
+      <window_info anchor="right" id="Ant Build" order="7" weight="0.25" />
279
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" />
280
+    </layout-to-restore>
281
+  </component>
282
+  <component name="TypeScriptGeneratedFilesManager">
283
+    <option name="version" value="1" />
284
+  </component>
285
+  <component name="VcsContentAnnotationSettings">
286
+    <option name="myLimit" value="2678400000" />
287
+  </component>
288
+  <component name="editorHistoryManager">
289
+    <entry file="das://34c9de41-d268-4949-a7ef-691556081c09/schema/pokemon/table/pokemon_trainer">
290
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
291
+        <state>
292
+          <filtering enabled="true" />
293
+        </state>
294
+      </provider>
295
+    </entry>
296
+    <entry file="das://34c9de41-d268-4949-a7ef-691556081c09/schema/pokemon/table/pokemons">
297
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
298
+        <state>
299
+          <filtering enabled="true" />
300
+        </state>
301
+      </provider>
302
+    </entry>
303
+    <entry file="das://34c9de41-d268-4949-a7ef-691556081c09/schema/pokemon/table/trainers">
304
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
305
+        <state>
306
+          <filtering enabled="true" />
307
+        </state>
308
+      </provider>
309
+    </entry>
310
+    <entry file="das://34c9de41-d268-4949-a7ef-691556081c09/schema/pokemon/table/types">
311
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
312
+        <state>
313
+          <filtering enabled="true" />
314
+        </state>
315
+      </provider>
316
+    </entry>
317
+    <entry file="file://$PROJECT_DIR$/README.md">
318
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
319
+        <state split_layout="SECOND">
320
+          <first_editor relative-caret-position="527">
321
+            <caret line="60" selection-start-line="60" selection-end-line="60" />
322
+          </first_editor>
323
+          <second_editor />
324
+        </state>
325
+      </provider>
326
+    </entry>
327
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/34c9de41-d268-4949-a7ef-691556081c09/console.sql">
328
+      <provider selected="true" editor-type-id="text-editor">
329
+        <state relative-caret-position="542">
330
+          <caret line="78" column="56" lean-forward="true" selection-start-line="72" selection-end-line="82" />
331
+        </state>
332
+      </provider>
333
+    </entry>
334
+  </component>
335
+  <component name="masterDetails">
336
+    <states>
337
+      <state key="ProjectJDKs.UI">
338
+        <settings>
339
+          <last-edited>1.8</last-edited>
340
+          <splitter-proportions>
341
+            <option name="proportions">
342
+              <list>
343
+                <option value="0.2" />
344
+              </list>
345
+            </option>
346
+          </splitter-proportions>
347
+        </settings>
348
+      </state>
349
+    </states>
350
+  </component>
351
+</project>

+ 11
- 0
POKEQUERIES/PART4.md Parādīt failu

@@ -0,0 +1,11 @@
1
+### Part 4: Final Report
2
+##Directions: Write a query that returns the following columns:
3
+SELECT a.name as Pokemon_Name	, b.trainername as Trainer_Name	, c.PokeLevel, d.name as Primary_Type	, e.name as Secondary_Type
4
+from pokemon.pokemon_trainer c     join pokemon.pokemons a
5
+         on a.id = c.pokemon_id    join pokemon.trainers b
6
+         on b.trainerID = c.trainerID join pokemon.types d
7
+         on a.primary_type = d.id     join pokemon.types e
8
+         on a.secondary_type = e.id
9
+order by PokeLevel desc
10
+#Sort the data by finding out which trainer has the strongest pokemon so that this will act as a ranking of strongest to weakest trainer.
11
+

+ 12
- 0
POKEQUERIES/part2.md Parādīt failu

@@ -0,0 +1,12 @@
1
+#Part 2: Simple Selects and Counts
2
+
3
+##What are all the types of pokemon that a pokemon can have?
4
+SELECT name FROM pokemon.types;
5
+##What is the name of the pokemon with id 45?
6
+SELECT name FROM pokemon.pokemons WHERE pokemons.id = 45;
7
+##How many pokemon are there?
8
+SELECT COUNT(*)  AS "ALL POKEMON" FROM pokemon.pokemons;
9
+##How many types are there?
10
+SELECT COUNT(id) FROM pokemon.types;
11
+##How many pokemon have a secondary type?
12
+SELECT COUNT(secondary_type) FROM pokemon.pokemons WHERE secondary_type IS NOT NULL;

+ 52
- 0
POKEQUERIES/part3.md Parādīt failu

@@ -0,0 +1,52 @@
1
+# Part 3: Joins and Groups
2
+
3
+##What is each pokemon's primary type?
4
+SELECT poke.name, t.name
5
+FROM pokemon.pokemons poke
6
+       JOIN pokemon.types t
7
+         ON poke.primary_type = t.id;
8
+
9
+##What is Rufflet's secondary type?
10
+SELECT poke.name, t.name
11
+FROM pokemon.pokemons poke
12
+JOIN pokemon.types t
13
+On poke.secondary_type = t.id
14
+WHERE poke.name = "Rufflet";
15
+
16
+##What are the names of the pokemon that belong to the trainer with trainerID 303?
17
+SELECT poke.name
18
+FROM pokemon.pokemons poke
19
+JOIN pokemon.pokemon_trainer poketrainer
20
+ON poke.id = poketrainer.pokemon_id
21
+Where poketrainer.trainerID = 303;
22
+
23
+##How many pokemon have a secondary type `Poison`?
24
+SELECT COUNT(poke.secondary_type)
25
+FROM pokemon.pokemons poke
26
+JOIN pokemon.types poketypes
27
+ON poke.secondary_type = poketypes.id
28
+WHERE poketypes.name = "Poison";
29
+
30
+##What are all the primary types and how many pokemon have that type?
31
+SELECT poketypes.name, COUNT(poke.name)
32
+FROM pokemon.types poketypes
33
+JOIN pokemon.pokemons poke
34
+ON poke.primary_type = poketypes.id
35
+GROUP BY poketypes.name;
36
+
37
+
38
+##How many pokemon at level 100 does each trainer with at least one level 100 pokemon have?
39
+##(Hint: your query should not display a trainer
40
+SELECT  COUNT(pokelevel) AS "Level 100 Pokemon"
41
+from pokemon.pokemon_trainer
42
+where pokelevel = 100
43
+group by  trainerID;
44
+
45
+##How many pokemon only belong to one trainer and no other?
46
+SELECT count(1) as pokemon_has_one_trainer
47
+FROM (select poke.name, count(poketrainer.trainerID)
48
+from pokemon.pokemons poke left join pokemon.pokemon_trainer poketrainer
49
+on poke.id = poketrainer.pokemon_id
50
+group by poke.name
51
+having count(poketrainer.trainerID) = 1) a;
52
+

+ 1
- 1
README.md Parādīt failu

@@ -1,4 +1,4 @@
1
-# MySQL Pokemon Report Queries
1
+ R# MySQL Pokemon Report Queries
2 2
 
3 3
 ### Goals
4 4
 * Become proficient selecting data out of a mysql database

+ 28805
- 0
pokemon_sql/pokemon_pokemon_trainer.sql
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 657
- 0
pokemon_sql/pokemon_pokemons.sql Parādīt failu

@@ -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/pokemon_trainers.sql
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 19
- 0
pokemon_sql/pokemon_types.sql Parādīt failu

@@ -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');