Skip to content

Commit 41e721a

Browse files
authored
Update pokemon.tsx
1 parent e6ac91f commit 41e721a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/exos/pokemon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const exo_pokemon: Exo_interface = {
2020
"SELECT count(*) FROM pokemons;",
2121
"select nom, niveau from evolue_en join pokemons on id = pokemon_base_id",
2222
"SELECT pokemons.nom FROM pokemons JOIN detient_pokemons ON pokemons.id = pokemon_id JOIN dresseurs ON dresseurs.id = dresseur_id WHERE dresseurs.nom = 'Pierre'",
23-
"select types.libelle, attaques.libelle from types join attaques on types.id = type_id",
23+
"select attaques.libelle, types.libelle from types join attaques on types.id = type_id",
2424
"select dresseurs.nom, pokemons.nom from pokemons join detient_pokemons on pokemons.id = pokemon_id join dresseurs on dresseurs.id = dresseur_id",
2525
"select pokemons.nom, pokemons_evol.nom, niveau from evolue_en join pokemons on pokemon_base_id = pokemons.id join pokemons as pokemons_evol on pokemon_evol_id = pokemons_evol.id",
2626
],
@@ -36,4 +36,4 @@ export const exo_pokemon_group = {
3636
"select nom, count(*) as nombre_pokemons, avg(niveau) as niveau_moyen from dresseurs join detient_pokemons on id = dresseur_id group by nom",
3737
"select nom, count(*) from dresseurs join detient_pokemons on id = dresseur_id where niveau >= 50 group by nom having count(*) > 3"
3838
],
39-
}
39+
}

0 commit comments

Comments
 (0)