Aan de slagGa gratis aan de slag

Update

You may sometimes have to update the rows in a table. For example, in the album table, there is a row with a very long album title, and you may want to shorten it.

You don't want to delete the record - you just want to update it in place. To do this, you need to specify the album_id to ensure that only the desired row is updated and all others are not modified.

Deze oefening maakt deel uit van de cursus

Introduction to SQL Server

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

-- Select the album
SELECT 
  ___ 
FROM 
  ___ 
WHERE 
  album_id = 213;
Code bewerken en uitvoeren