Please create a SQL query to print out all pokemon id
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Please create a SQL query to print out all pokemon id

For each question, you will need to construct a SQL query that fetches the desired data from the SQLite DBMS.

Question 1: Please create a SQL query to print out all pokemon id, name, height and weight from table pokemon_CSC321

Question 2: Please create a SQL query to group pokemons in table pokemon_CSC321 based on capture_rate, calculate and print out the maximum base_experience for each group (please use capture_rate to sort the result using the ascending order).

Question 3: Use table pokemon_species, please create a SQL query to output the total (summation) number of pokemons for generation 2,3 and 4 (using generation_id)

Question 4: Please use table pokemon_species_names and table pokemon_species to build a SQL query (using JOIN ) output id, name, species_id and capture_rate for pokemon from all generations.

Question 5: If two pokemons share the same evolution_chain_id, it means they are in the same evolution family. The base (first) pokemon in a family will have generation_id = 1. For example, Bulbsaure, Ivysaur and Venusaur are all in the same evolution family and the base pokemon for the family is Bulbsaure.

Please use table pokemon_species to create a SQL query and output all evolution families (use the base pokemon's name) and also output total number of pokemons in that family.

An example output are shown below:


Hint
ComputerSQL i.e. Structured Query Language, is a standardized programming language which is used to manage the relational databases and then perform several operations on the data in them. It is a domain-specific language which is basically used in programming and designed for the data management that are held in a relational database management system....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.