File size: 16,800 Bytes
cff8cf0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
question,query
Retrieve all Pokemon,db.pokemon_stats.find({})
"Find all Pokemon of a specific type, e.g., Fire","db.pokemon_stats.find({""Type 1"": ""Fire""})"
Find all Legendary Pokemon,"db.pokemon_stats.find({""Legendary"": true})"
"Find all Pokemon from a specific generation, e.g., Generation 1","db.pokemon_stats.find({""Generation"": 1})"
Find Pokemon with HP greater than 100,"db.pokemon_stats.find({""HP"": {$gt: 100}})"
Sort Pokemon by Attack in descending order,"db.pokemon_stats.find({}).sort({""Attack"": -1})"
Find all Water-type Pokemon that are also Legendary,"db.pokemon_stats.find({""Type 1"": ""Water"", ""Legendary"": true})"
Count the number of Pokemon of each type,"db.pokemon_stats.aggregate([{$group: {_id: ""$Type 1"", count: {$sum: 1}}}])"
Find all Pokemon that do not have a secondary type,"db.pokemon_stats.find({""Type 2"": null})"
"Find Pokemon with a specific name, e.g., Pikachu","db.pokemon_stats.find({""Name"": ""Pikachu""})"
Retrieve details for Pikachu,"db.pokemon_stats.find({""Name"": ""Pikachu""})"
What stats does Charizard have?,"db.pokemon_stats.find({""Name"": ""Charizard""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
How many Pokemon share Bulbasaur's primary type?,"db.pokemon_stats.find({""Type 1"": ""Grass""}).count()"
Identify all Pokemon of the Water type like Squirtle,"db.pokemon_stats.find({""Type 1"": ""Water""})"
Which Pokemon surpass Mewtwo in stats?,"db.pokemon_stats.find({""Total"": {$gt: (db.pokemon_stats.findOne({""Name"": ""Mewtwo""}).Total)}})"
List every Legendary Pokemon,"db.pokemon_stats.find({""Legendary"": true})"
Total number of Pokemon from the first Generation,"db.pokemon_stats.find({""Generation"": 1}).count()"
Display Pokemon with Special Attack values exceeding 100,"db.pokemon_stats.find({""Sp. Atk"": {$gt: 100}})"
Show complete data for Pikachu,"db.pokemon_stats.find({""Name"": ""Pikachu""})"
Detail Charizard's attributes,"db.pokemon_stats.find({""Name"": ""Charizard""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Count Pokemon with the same primary type as Bulbasaur,"db.pokemon_stats.find({""Type 1"": ""Grass""}).count()"
Enumerate Water-type Pokemon akin to Squirtle,"db.pokemon_stats.find({""Type 1"": ""Water""})"
Identify Pokemon with statistics superior to Mewtwo,"db.pokemon_stats.find({""Total"": {$gt: (db.pokemon_stats.findOne({""Name"": ""Mewtwo""}).Total)}})"
Catalog all Pokemon deemed Legendary,"db.pokemon_stats.find({""Legendary"": true})"
Compute the quantity of Generation 1 Pokemon,"db.pokemon_stats.find({""Generation"": 1}).count()"
Reveal Pokemon boasting a Special Attack beyond 100,"db.pokemon_stats.find({""Sp. Atk"": {$gt: 100}})"
Show complete data for Bulbasaur,"db.pokemon_stats.find({""Name"": ""Bulbasaur""})"
Detail Bulbasaur's attributes,"db.pokemon_stats.find({""Name"": ""Bulbasaur""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Bulbasaur considered Legendary?,"db.pokemon_stats.find({""Name"": ""Bulbasaur""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Ivysaur,"db.pokemon_stats.find({""Name"": ""Ivysaur""})"
Detail Ivysaur's attributes,"db.pokemon_stats.find({""Name"": ""Ivysaur""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Ivysaur considered Legendary?,"db.pokemon_stats.find({""Name"": ""Ivysaur""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Venusaur,"db.pokemon_stats.find({""Name"": ""Venusaur""})"
Detail Venusaur's attributes,"db.pokemon_stats.find({""Name"": ""Venusaur""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Venusaur considered Legendary?,"db.pokemon_stats.find({""Name"": ""Venusaur""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for VenusaurMega Venusaur,"db.pokemon_stats.find({""Name"": ""VenusaurMega Venusaur""})"
Detail VenusaurMega Venusaur's attributes,"db.pokemon_stats.find({""Name"": ""VenusaurMega Venusaur""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is VenusaurMega Venusaur considered Legendary?,"db.pokemon_stats.find({""Name"": ""VenusaurMega Venusaur""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Charmander,"db.pokemon_stats.find({""Name"": ""Charmander""})"
Detail Charmander's attributes,"db.pokemon_stats.find({""Name"": ""Charmander""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Charmander considered Legendary?,"db.pokemon_stats.find({""Name"": ""Charmander""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Charmeleon,"db.pokemon_stats.find({""Name"": ""Charmeleon""})"
Detail Charmeleon's attributes,"db.pokemon_stats.find({""Name"": ""Charmeleon""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Charmeleon considered Legendary?,"db.pokemon_stats.find({""Name"": ""Charmeleon""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Charizard,"db.pokemon_stats.find({""Name"": ""Charizard""})"
Detail Charizard's attributes,"db.pokemon_stats.find({""Name"": ""Charizard""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Charizard considered Legendary?,"db.pokemon_stats.find({""Name"": ""Charizard""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for CharizardMega Charizard X,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard X""})"
Detail CharizardMega Charizard X's attributes,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard X""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is CharizardMega Charizard X considered Legendary?,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard X""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for CharizardMega Charizard Y,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard Y""})"
Detail CharizardMega Charizard Y's attributes,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard Y""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is CharizardMega Charizard Y considered Legendary?,"db.pokemon_stats.find({""Name"": ""CharizardMega Charizard Y""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Squirtle,"db.pokemon_stats.find({""Name"": ""Squirtle""})"
Detail Squirtle's attributes,"db.pokemon_stats.find({""Name"": ""Squirtle""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Squirtle considered Legendary?,"db.pokemon_stats.find({""Name"": ""Squirtle""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Wartortle,"db.pokemon_stats.find({""Name"": ""Wartortle""})"
Detail Wartortle's attributes,"db.pokemon_stats.find({""Name"": ""Wartortle""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Wartortle considered Legendary?,"db.pokemon_stats.find({""Name"": ""Wartortle""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Blastoise,"db.pokemon_stats.find({""Name"": ""Blastoise""})"
Detail Blastoise's attributes,"db.pokemon_stats.find({""Name"": ""Blastoise""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Blastoise considered Legendary?,"db.pokemon_stats.find({""Name"": ""Blastoise""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for BlastoiseMega Blastoise,"db.pokemon_stats.find({""Name"": ""BlastoiseMega Blastoise""})"
Detail BlastoiseMega Blastoise's attributes,"db.pokemon_stats.find({""Name"": ""BlastoiseMega Blastoise""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is BlastoiseMega Blastoise considered Legendary?,"db.pokemon_stats.find({""Name"": ""BlastoiseMega Blastoise""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Caterpie,"db.pokemon_stats.find({""Name"": ""Caterpie""})"
Detail Caterpie's attributes,"db.pokemon_stats.find({""Name"": ""Caterpie""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Caterpie considered Legendary?,"db.pokemon_stats.find({""Name"": ""Caterpie""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Metapod,"db.pokemon_stats.find({""Name"": ""Metapod""})"
Detail Metapod's attributes,"db.pokemon_stats.find({""Name"": ""Metapod""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Metapod considered Legendary?,"db.pokemon_stats.find({""Name"": ""Metapod""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Butterfree,"db.pokemon_stats.find({""Name"": ""Butterfree""})"
Detail Butterfree's attributes,"db.pokemon_stats.find({""Name"": ""Butterfree""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Butterfree considered Legendary?,"db.pokemon_stats.find({""Name"": ""Butterfree""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Weedle,"db.pokemon_stats.find({""Name"": ""Weedle""})"
Detail Weedle's attributes,"db.pokemon_stats.find({""Name"": ""Weedle""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Weedle considered Legendary?,"db.pokemon_stats.find({""Name"": ""Weedle""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Kakuna,"db.pokemon_stats.find({""Name"": ""Kakuna""})"
Detail Kakuna's attributes,"db.pokemon_stats.find({""Name"": ""Kakuna""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Kakuna considered Legendary?,"db.pokemon_stats.find({""Name"": ""Kakuna""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for Beedrill,"db.pokemon_stats.find({""Name"": ""Beedrill""})"
Detail Beedrill's attributes,"db.pokemon_stats.find({""Name"": ""Beedrill""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is Beedrill considered Legendary?,"db.pokemon_stats.find({""Name"": ""Beedrill""}, {""_id"": 0, ""Legendary"": 1})"
Show complete data for BeedrillMega Beedrill,"db.pokemon_stats.find({""Name"": ""BeedrillMega Beedrill""})"
Detail BeedrillMega Beedrill's attributes,"db.pokemon_stats.find({""Name"": ""BeedrillMega Beedrill""}, {""_id"": 0, ""Total"": 1, ""HP"": 1, ""Attack"": 1, ""Defense"": 1, ""Sp. Atk"": 1, ""Sp. Def"": 1, ""Speed"": 1})"
Is BeedrillMega Beedrill considered Legendary?,"db.pokemon_stats.find({""Name"": ""BeedrillMega Beedrill""}, {""_id"": 0, ""Legendary"": 1})"
water type pokemon,"db.pokemon_stats.find({""Type 1"": ""Water""})"
fire type pokemon,"db.pokemon_stats.find({""Type 1"": ""Fire""})"
strongest fire type pokemon,"db.pokemon_stats.find({""Type 1"": ""Fire""}).sort({""Total"": -1}).limit(1)"
electric type pokemon,"db.pokemon_stats.find({""Type 1"": ""Electric""})"
pokemon with highest speed,"db.pokemon_stats.find({}).sort({""Speed"": -1}).limit(1)"
grass type pokemon,"db.pokemon_stats.find({""Type 1"": ""Grass""})"
pokemon with lowest hp,"db.pokemon_stats.find({}).sort({""HP"": 1}).limit(1)"
all generation 2 pokemon,"db.pokemon_stats.find({""Generation"": 2})"
all mega pokemon,"db.pokemon_stats.find({""Name"": /Mega/})"
strongest psychic type pokemon,"db.pokemon_stats.find({""Type 1"": ""Psychic""}).sort({""Total"": -1}).limit(1)"
flying pokemon,"db.pokemon_stats.find({""Type 1"": ""Flying""})"
psychic pokemon,"db.pokemon_stats.find({""Type 1"": ""Psychic""})"
strongest pokemon,"db.pokemon_stats.find({}).sort({""Total"": -1}).limit(1)"
weakest pokemon,"db.pokemon_stats.find({}).sort({""Total"": 1}).limit(1)"
rock pokemon,"db.pokemon_stats.find({""Type 1"": ""Rock""})"
ice pokemon,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
dragon pokemon,"db.pokemon_stats.find({""Type 1"": ""Dragon""})"
fairy pokemon,"db.pokemon_stats.find({""Type 1"": ""Fairy""})"
poison pokemon,"db.pokemon_stats.find({""Type 1"": ""Poison""})"
bug pokemon,"db.pokemon_stats.find({""Type 1"": ""Bug""})"
suggest a pokemon to fight against Pikachu,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
best pokemon against electric type,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
pokemon to defeat Pikachu,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
ground pokemon for electric battle,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
who counters electric pokemon,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Pikachu,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
recommend a pokemon against Charizard,"db.pokemon_stats.find({""Type 1"": ""Water""})"
best pokemon to fight fire types,"db.pokemon_stats.find({""Type 1"": ""Water""})"
pokemon to beat Charizard,"db.pokemon_stats.find({""Type 1"": ""Water""})"
water pokemon for fire battle,"db.pokemon_stats.find({""Type 1"": ""Water""})"
who counters fire pokemon,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Charizard,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Pikachu,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Electivire,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Raichu,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Zapdos,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Jolteon,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Magneton,"db.pokemon_stats.find({""Type 1"": ""Ground""})"
counter for Charizard,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Blaziken,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Infernape,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Typhlosion,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Arcanine,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Entei,"db.pokemon_stats.find({""Type 1"": ""Water""})"
counter for Dragonite,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Salamence,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Rayquaza,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Garchomp,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Haxorus,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Dragapult,"db.pokemon_stats.find({""Type 1"": ""Ice""})"
counter for Tyranitar,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
counter for Umbreon,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
counter for Snorlax,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
counter for Kangaskhan,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
counter for Aggron,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
counter for Regirock,"db.pokemon_stats.find({""Type 1"": ""Fighting""})"
Find all Grass-type Pokemon,"db.pokemon_stats.find({""Type 1"": ""Grass""})"
Find all Electric-type Pokemon,"db.pokemon_stats.find({""Type 1"": ""Electric""})"
Find all non-Legendary Pokemon,"db.pokemon_stats.find({""Legendary"": false})"
Find all Generation 2 Pokemon,"db.pokemon_stats.find({""Generation"": 2})"
Find all Generation 3 Pokemon,"db.pokemon_stats.find({""Generation"": 3})"
Find Pokemon with Attack greater than 100,"db.pokemon_stats.find({""Attack"": {$gt: 100}})"
Find Pokemon with Defense greater than 100,"db.pokemon_stats.find({""Defense"": {$gt: 100}})"
Find Pokemon with Speed greater than 100,"db.pokemon_stats.find({""Speed"": {$gt: 100}})"
Find Pokemon with Special Attack greater than 100,"db.pokemon_stats.find({""Sp. Atk"": {$gt: 100}})"
Find Pokemon with Special Defense greater than 100,"db.pokemon_stats.find({""Sp. Def"": {$gt: 100}})"
Find Pokemon with HP less than 50,"db.pokemon_stats.find({""HP"": {$lt: 50}})"
Find Pokemon with Attack less than 50,"db.pokemon_stats.find({""Attack"": {$lt: 50}})"
Find Pokemon with Defense less than 50,"db.pokemon_stats.find({""Defense"": {$lt: 50}})"
Find Pokemon with Speed less than 50,"db.pokemon_stats.find({""Speed"": {$lt: 50}})"
Find Pokemon with Special Attack less than 50,"db.pokemon_stats.find({""Sp. Atk"": {$lt: 50}})"
Find Pokemon with Special Defense less than 50,"db.pokemon_stats.find({""Sp. Def"": {$lt: 50}})"
Find Pokemon with HP greater than 150,"db.pokemon_stats.find({""HP"": {$gt: 150}})"
Find Pokemon with Attack greater than 150,"db.pokemon_stats.find({""Attack"": {$gt: 150}})"