Avsnitt 1. Kapitel 35
single
Challenge: Update User Age
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 35
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal