Question de la partie défi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Question de la partie défi

There are many wolves in the zoo: black wolf, white wolf, lucky wolf, little wolf. They all have 'wolf' at the end of their names. Print the ages of all of the wolves. SELECT age FROM zoo WHERE animal LIKE ''

14th Aug 2021, 12:03 AM
ARISTIDE ON-KEBA YAGO DERING
ARISTIDE ON-KEBA YAGO DERING - avatar
2 Answers
+ 5
Wolf should be the pattern since it appears in all names. SELECT age FROM zoo WHERE animal LIKE '%wolf'
14th Aug 2021, 1:23 AM
Simba
Simba - avatar
+ 2
Ok merci !
15th Aug 2021, 2:19 AM
ARISTIDE ON-KEBA YAGO DERING
ARISTIDE ON-KEBA YAGO DERING - avatar