Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Update User Age | JSON Functions
Functions in SQL

bookChallenge: Update User Age

Taak

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_data so that the value of the age field is increased by 1.
  • Only the age field in the JSON data should be changed; all other data must remain the same.
  • The update must apply to all rows in the user_profiles table.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 6. Hoofdstuk 5
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

close

bookChallenge: Update User Age

Veeg om het menu te tonen

Taak

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_data so that the value of the age field is increased by 1.
  • Only the age field in the JSON data should be changed; all other data must remain the same.
  • The update must apply to all rows in the user_profiles table.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 6. Hoofdstuk 5
single

single

some-alt