ThuyKhong 95a05b6397 lab completed | 6 年前 | |
---|---|---|
.idea | 6 年前 | |
pokemon_sql | 6 年前 | |
- | 6 年前 | |
.DS_Store | 6 年前 | |
Data.txt | 6 年前 | |
Importing | 6 年前 | |
Part2-SimpleSelectAndCounts.txt | 6 年前 | |
README.md | 6 年前 | |
part3-JoinsAndGroup.txt | 6 年前 | |
part4-FinalReport.txt | 6 年前 | |
pokemon_sql.zip | 6 年前 |
Directions:
From here you should have all the pokemon data in your mysql schema. Feel free to explore the data and perform a few select statements to see what the data looks like.
Directions: Write a sql query or sql queries that can answer the following questions
Directions: Write a sql query or sql queries that can answer the following questions
Poison
Directions: Write a query that returns the following collumns:
Pokemon Name | Trainer Name | Level | Primary Type | Secondary Type |
---|---|---|---|---|
Pokemon's name | Trainer's name | Current Level | Primary Type Name | Secondary Type Name |
Sort the data by finding out which trainer has the strongest pokemon so that this will act as a ranking of strongest to weakest trainer. You may interpret strongest in whatever way you want, but you will have to explain your decision.
To turn in this assignment, create files for each part with at least one query for each question answered. Above each query include a comment with the question you were answering. Example:
# How many characters are in the string 'Hello World!'
SELECT CHAR_LENGTH('Hello World!') AS length_of_hello_world
For Part 4 specifically also leave a comment explaining how your query is deciding who the strongest trainer is
Once all of that is done, submit a pull request