Bläddra i källkod

final product

Elliott Stansbury 6 år sedan
förälder
incheckning
99751ec122

Binär
.DS_Store Visa fil


+ 48
- 48
.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3.xml
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 71
- 76
.idea/workspace.xml Visa fil

@@ -2,9 +2,18 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="73b28f8f-3894-476d-9078-89db475ccced" name="Default Changelist" comment="">
5
-      <change afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
6
-      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
7
-      <change afterPath="$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts" afterDir="false" />
5
+      <change beforePath="$PROJECT_DIR$/.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources/88a95afe-2071-4bb1-9109-74d9dd6f7cf3.xml" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/src/main/java/Account.java" beforeDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/src/main/java/AccountApp.java" beforeDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/src/main/java/AccountService.java" beforeDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/src/main/java/Console.java" beforeDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/src/main/java/DatabaseConnection.java" beforeDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/src/main/java/MockDao.java" beforeDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/src/main/java/MySQLDriver.java" beforeDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/src/test/java/AccountServiceTest.java" beforeDir="false" />
15
+      <change beforePath="$PROJECT_DIR$/target/classes/Account.class" beforeDir="false" />
16
+      <change beforePath="$PROJECT_DIR$/target/classes/AccountApp.class" beforeDir="false" />
8 17
     </list>
9 18
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10 19
     <option name="SHOW_DIALOG" value="false" />
@@ -56,7 +65,8 @@
56 65
     <session id="-2078513765">
57 66
       <usages-collector id="statistics.lifecycle.project">
58 67
         <counts>
59
-          <entry key="project.closed" value="8" />
68
+          <entry key="project.closed" value="11" />
69
+          <entry key="project.open.time.11" value="1" />
60 70
           <entry key="project.open.time.12" value="1" />
61 71
           <entry key="project.open.time.15" value="1" />
62 72
           <entry key="project.open.time.18" value="1" />
@@ -64,17 +74,17 @@
64 74
           <entry key="project.open.time.3" value="3" />
65 75
           <entry key="project.open.time.4" value="2" />
66 76
           <entry key="project.open.time.6" value="1" />
67
-          <entry key="project.opened" value="10" />
77
+          <entry key="project.opened" value="11" />
68 78
         </counts>
69 79
       </usages-collector>
70 80
       <usages-collector id="statistics.file.extensions.open">
71 81
         <counts>
72 82
           <entry key="Simple Selects and COunts" value="1" />
73
-          <entry key="Simple Selects and Counts" value="5" />
83
+          <entry key="Simple Selects and Counts" value="6" />
74 84
           <entry key="md" value="9" />
75 85
           <entry key="pokemon_pokemon_trainer" value="1" />
76 86
           <entry key="pokemon_trainer" value="6" />
77
-          <entry key="pokemons" value="4" />
87
+          <entry key="pokemons" value="5" />
78 88
           <entry key="properties" value="1" />
79 89
           <entry key="sql" value="19" />
80 90
           <entry key="trainers" value="4" />
@@ -83,9 +93,9 @@
83 93
       </usages-collector>
84 94
       <usages-collector id="statistics.file.types.open">
85 95
         <counts>
86
-          <entry key="Database Element" value="19" />
96
+          <entry key="Database Element" value="20" />
87 97
           <entry key="Markdown" value="8" />
88
-          <entry key="PLAIN_TEXT" value="7" />
98
+          <entry key="PLAIN_TEXT" value="8" />
89 99
           <entry key="Properties" value="1" />
90 100
           <entry key="SQL" value="15" />
91 101
           <entry key="Scratch" value="4" />
@@ -95,7 +105,7 @@
95 105
         <counts>
96 106
           <entry key="Simple Selects and Counts" value="121" />
97 107
           <entry key="properties" value="7" />
98
-          <entry key="sql" value="1624" />
108
+          <entry key="sql" value="1784" />
99 109
         </counts>
100 110
       </usages-collector>
101 111
       <usages-collector id="statistics.file.types.edit">
@@ -103,22 +113,13 @@
103 113
           <entry key="PLAIN_TEXT" value="121" />
104 114
           <entry key="Properties" value="7" />
105 115
           <entry key="SQL" value="2" />
106
-          <entry key="Scratch" value="1622" />
116
+          <entry key="Scratch" value="1782" />
107 117
         </counts>
108 118
       </usages-collector>
109 119
     </session>
110 120
   </component>
111 121
   <component name="FileEditorManager">
112 122
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
113
-      <file pinned="false" current-in-tab="true">
114
-        <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql">
115
-          <provider selected="true" editor-type-id="text-editor">
116
-            <state>
117
-              <caret selection-end-line="5" />
118
-            </state>
119
-          </provider>
120
-        </entry>
121
-      </file>
122 123
       <file pinned="false" current-in-tab="false">
123 124
         <entry file="file://$PROJECT_DIR$/README.md">
124 125
           <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
@@ -131,6 +132,15 @@
131 132
           </provider>
132 133
         </entry>
133 134
       </file>
135
+      <file pinned="false" current-in-tab="true">
136
+        <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/types">
137
+          <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
138
+            <state>
139
+              <filtering enabled="true" />
140
+            </state>
141
+          </provider>
142
+        </entry>
143
+      </file>
134 144
       <file pinned="false" current-in-tab="false">
135 145
         <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/trainers">
136 146
           <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
@@ -162,8 +172,8 @@
162 172
         <option value="$APPLICATION_CONFIG_DIR$/idea.properties" />
163 173
         <option value="$APPLICATION_CONFIG_DIR$/consoles/db/5d3b9fb8-5e9a-49b5-801f-0f716fd65293/console.sql" />
164 174
         <option value="$APPLICATION_CONFIG_DIR$/scratches/scratch.sql" />
165
-        <option value="$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql" />
166 175
         <option value="$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts" />
176
+        <option value="$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql" />
167 177
       </list>
168 178
     </option>
169 179
   </component>
@@ -182,23 +192,28 @@
182 192
       <foldersAlwaysOnTop value="true" />
183 193
     </navigator>
184 194
     <panes>
185
-      <pane id="Scope" />
186 195
       <pane id="ProjectPane">
187 196
         <subPane>
188 197
           <expand>
189 198
             <path>
190
-              <item name="PokemonSqlLab" type="8cb6161f:DatabaseProjectViewPane$1$1" />
191
-              <item name="PokemonSqlLab" type="5b8f4e1:DatabaseProjectViewPane$1$1$1" />
199
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
200
+              <item name="PokemonSqlLab" type="462c0819:PsiDirectoryNode" />
201
+            </path>
202
+            <path>
203
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
204
+              <item name="PokemonSqlLab" type="462c0819:PsiDirectoryNode" />
205
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
192 206
             </path>
193 207
             <path>
194
-              <item name="PokemonSqlLab" type="8cb6161f:DatabaseProjectViewPane$1$1" />
195
-              <item name="PokemonSqlLab" type="5b8f4e1:DatabaseProjectViewPane$1$1$1" />
196
-              <item name="pokemon_sql" type="462c0819:PsiDirectoryNode" />
208
+              <item name="PokemonSqlLab" type="b2602c69:ProjectViewProjectNode" />
209
+              <item name="PokemonSqlLab" type="462c0819:PsiDirectoryNode" />
210
+              <item name="pokemon_sql 2" type="462c0819:PsiDirectoryNode" />
197 211
             </path>
198 212
           </expand>
199 213
           <select />
200 214
         </subPane>
201 215
       </pane>
216
+      <pane id="Scope" />
202 217
       <pane id="PackagesPane" />
203 218
     </panes>
204 219
   </component>
@@ -247,16 +262,18 @@
247 262
       <workItem from="1542308200927" duration="1294000" />
248 263
       <workItem from="1542318409238" duration="660000" />
249 264
       <workItem from="1542384882198" duration="5453000" />
265
+      <workItem from="1542668211909" duration="748000" />
250 266
     </task>
251 267
     <servers />
252 268
   </component>
253 269
   <component name="TimeTrackingManager">
254
-    <option name="totallyTimeSpent" value="11471000" />
270
+    <option name="totallyTimeSpent" value="12219000" />
255 271
   </component>
256 272
   <component name="ToolWindowManager">
257 273
     <frame x="0" y="0" width="1280" height="800" extended-state="0" />
274
+    <editor active="true" />
258 275
     <layout>
259
-      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13166398" />
276
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13327949" />
260 277
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
261 278
       <window_info id="Image Layers" order="2" />
262 279
       <window_info id="Designer" order="3" />
@@ -324,54 +341,19 @@
324 341
   </component>
325 342
   <component name="editorHistoryManager">
326 343
     <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/5f48c787-6a77-4718-8e8d-058d5908f430/console.sql" />
327
-    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_types.sql">
328
-      <provider selected="true" editor-type-id="text-editor" />
329
-    </entry>
344
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_types.sql" />
330 345
     <entry file="file://$APPLICATION_CONFIG_DIR$/idea.properties" />
331 346
     <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemon_pokemon_trainer" />
332 347
     <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/trainers" />
333 348
     <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemon_trainer" />
334 349
     <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/pokemons" />
335 350
     <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/5d3b9fb8-5e9a-49b5-801f-0f716fd65293/console.sql" />
336
-    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_trainers.sql">
337
-      <provider selected="true" editor-type-id="text-editor">
338
-        <state relative-caret-position="278">
339
-          <caret line="5634" column="79" selection-end-line="11860" selection-end-column="94" />
340
-        </state>
341
-      </provider>
342
-    </entry>
343
-    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemon_trainer.sql">
344
-      <provider selected="true" editor-type-id="text-editor">
345
-        <state relative-caret-position="303">
346
-          <caret line="27" column="34" selection-start-line="27" selection-start-column="34" selection-end-line="27" selection-end-column="34" />
347
-        </state>
348
-      </provider>
349
-    </entry>
350
-    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemons.sql">
351
-      <provider selected="true" editor-type-id="text-editor" />
352
-    </entry>
351
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_trainers.sql" />
352
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemon_trainer.sql" />
353
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/pokemon_pokemons.sql" />
353 354
     <entry file="das://5d3b9fb8-5e9a-49b5-801f-0f716fd65293/schema/pokemon/table/types" />
354 355
     <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/scratch.sql" />
355
-    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/types">
356
-      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
357
-        <state>
358
-          <filtering enabled="true" />
359
-        </state>
360
-      </provider>
361
-    </entry>
362
-    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemons">
363
-      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
364
-        <state>
365
-          <filtering enabled="true" />
366
-        </state>
367
-      </provider>
368
-    </entry>
369 356
     <entry file="file://$PROJECT_DIR$/README.md">
370
-      <provider editor-type-id="text-editor">
371
-        <state relative-caret-position="276">
372
-          <caret line="37" column="25" lean-forward="true" selection-start-line="37" selection-end-line="38" />
373
-        </state>
374
-      </provider>
375 357
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
376 358
         <state split_layout="SPLIT">
377 359
           <first_editor relative-caret-position="216">
@@ -380,6 +362,18 @@
380 362
           <second_editor />
381 363
         </state>
382 364
       </provider>
365
+      <provider editor-type-id="text-editor">
366
+        <state relative-caret-position="276">
367
+          <caret line="37" column="25" lean-forward="true" selection-start-line="37" selection-end-line="38" />
368
+        </state>
369
+      </provider>
370
+    </entry>
371
+    <entry file="file://$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts">
372
+      <provider selected="true" editor-type-id="text-editor">
373
+        <state relative-caret-position="332">
374
+          <caret line="34" column="31" lean-forward="true" selection-start-line="34" selection-start-column="31" selection-end-line="34" selection-end-column="31" />
375
+        </state>
376
+      </provider>
383 377
     </entry>
384 378
     <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemon_trainer">
385 379
       <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
@@ -388,24 +382,25 @@
388 382
         </state>
389 383
       </provider>
390 384
     </entry>
391
-    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/trainers">
385
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/pokemons">
392 386
       <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
393 387
         <state>
394 388
           <filtering enabled="true" />
395 389
         </state>
396 390
       </provider>
397 391
     </entry>
398
-    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql">
399
-      <provider selected="true" editor-type-id="text-editor">
392
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/trainers">
393
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
400 394
         <state>
401
-          <caret selection-end-line="5" />
395
+          <filtering enabled="true" />
402 396
         </state>
403 397
       </provider>
404 398
     </entry>
405
-    <entry file="file://$PROJECT_DIR$/pokemon_sql/Simple Selects and Counts">
406
-      <provider selected="true" editor-type-id="text-editor">
407
-        <state relative-caret-position="168">
408
-          <caret line="60" selection-start-line="60" selection-end-line="60" />
399
+    <entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/88a95afe-2071-4bb1-9109-74d9dd6f7cf3/console.sql" />
400
+    <entry file="das://88a95afe-2071-4bb1-9109-74d9dd6f7cf3/schema/pokemon/table/types">
401
+      <provider selected="true" editor-type-id="com.intellij.database.editor.DatabaseTableFileEditorProvider">
402
+        <state>
403
+          <filtering enabled="true" />
409 404
         </state>
410 405
       </provider>
411 406
     </entry>

+ 0
- 657
pokemon_sql 2/pokemon_pokemons.sql Visa fil

@@ -1,657 +0,0 @@
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);

+ 0
- 19
pokemon_sql 2/pokemon_types.sql Visa fil

@@ -1,19 +0,0 @@
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');

+ 63
- 0
pokemon_sql/Simple Selects and Counts Visa fil

@@ -0,0 +1,63 @@
1
+//PART 2//
2
+
3
+-What are all the types of pokemon that a pokemon can have?
4
+SELECT name FROM pokemon.pokemons
5
+
6
+-What is the name of the pokemon with id 45?
7
+SELECT * FROM pokemon.pokemons
8
+WHERE id = 45;
9
+
10
+-How many pokemon are there?
11
+SELECT COUNT(id) FROM pokemon.pokemons;
12
+
13
+-How many types are there?
14
+SELECT COUNT(types.name) FROM pokemon.types;
15
+
16
+-How many pokemon have a secondary type?
17
+SELECT COUNT(secondary_type) FROM pokemon.pokemons;
18
+
19
+
20
+//PART 3//
21
+
22
+
23
+-What is each pokemon's primary type?
24
+SELECT t.name, Count(p.name)
25
+From pokemon.pokemons p
26
+Join types t
27
+ON primary_type = t.id
28
+GROUP BY t.name
29
+
30
+-What is Rufflet's secondary type?
31
+SELECT pokemon.pokemons.name, pokemon.types.name
32
+From pokemons
33
+JOIN pokemon.types
34
+ON pokemons.secondary_type = pokemon.types.id
35
+WHERE pokemons.name = "Rufflet"
36
+
37
+-What are the names of the pokemon that belong to the trainer with trainerID 303?
38
+SELECT pokemon.trainers.trainername, pokemons.name
39
+From pokemon.trainers
40
+JOIN pokemon.pokemons
41
+ON trainers.trainerID = 303
42
+
43
+-How many pokemon have a secondary type `Poison`
44
+SELECT COUNT(pokemons.name)
45
+FROM pokemons
46
+JOIN pokemon.types
47
+WHERE secondary_type = 7
48
+
49
+-What are all the primary types and how many pokemon have that type?
50
+Select pokemon.types.name, COUNT(pokemons.primary_type)
51
+FROM pokemon.pokemons
52
+JOIN pokemon.types
53
+GROUP BY types.name
54
+
55
+-How many pokemon at level 100 does each trainer with at least one level 100 pokemone have? (Hint: your query should not display a trainer
56
+Select  COunt(trainerID)
57
+From pokemon_trainer
58
+Where pokelevel = 100
59
+Group by trainerID;
60
+
61
+
62
+
63
+

pokemon_sql 2/pokemon_pokemon_trainer.sql → pokemon_sql/pokemon_pokemon_trainer.sql Visa fil


+ 0
- 0
pokemon_sql/pokemon_pokemons.sql Visa fil


pokemon_sql 2/pokemon_trainers.sql → pokemon_sql/pokemon_trainers.sql Visa fil


+ 0
- 0
pokemon_sql/pokemon_types.sql Visa fil


+ 0
- 65
src/main/java/Account.java Visa fil

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

+ 0
- 209
src/main/java/AccountApp.java Visa fil

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

+ 0
- 51
src/main/java/AccountService.java Visa fil

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

+ 0
- 21
src/main/java/Console.java Visa fil

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

+ 0
- 2
src/main/java/DatabaseConnection.java Visa fil

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

+ 0
- 305
src/main/java/MockDao.java Visa fil

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

+ 0
- 36
src/main/java/MySQLDriver.java Visa fil

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

+ 0
- 20
src/test/java/AccountServiceTest.java Visa fil

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

Binär
target/classes/Account.class Visa fil


Binär
target/classes/AccountApp.class Visa fil