BaşlayınÜcretsiz Başlayın

Update the price of rentals

You just learned that there have been some updates for the rental pricing of your films. In this exercise you will leverage the UPDATE command to modify the rental prices by increasing the rental_rate with the following logic.

  • All films now cost 50 cents more to rent.
  • R Rated films will go up by an additional 1 dollar.

Bu egzersiz

Applying SQL to Real-World Problems

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

-- Increase rental_rate by 0.5 in the film table
UPDATE ___
SET ___ = ___;
Kodu Düzenle ve Çalıştır