Challenge: Update User Age
Tâche
Swipe to start coding
Write a query to increment the age field in the profile_data JSON column by 1 for all users in the user_profiles table.
- Update each user's
profile_dataso that the value of theagefield is increased by 1. - Only the
agefield in the JSON data should be changed; all other data must remain the same. - The update must apply to all rows in the
user_profilestable.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 6. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 2.86
Challenge: Update User Age
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query to increment the age field in the profile_data JSON column by 1 for all users in the user_profiles table.
- Update each user's
profile_dataso that the value of theagefield is increased by 1. - Only the
agefield in the JSON data should be changed; all other data must remain the same. - The update must apply to all rows in the
user_profilestable.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 6. Chapitre 5
single