Update star-rating in Resort Table in SQL

Question:

Update star-rating in Resort Table

The rating for “TREE OF LIFE RESORT“ has changed. Write a query to change the value of the rating from 3.8 to 4.2 in the “Resort” table.

Quiz for Exam - Update star-rating in Resort Table

Code:

sample.sql

 update resort set starRating=4.2 where resortName='TREE OF LIFE RESORT';

Recommended:

Leave a Comment

Your email address will not be published. Required fields are marked *