Change the Name of PointOfInterest Table in SQL

Question:

Change the Name of PointOfInterest Table

The resort management wants to change the name “PointOfInterest” to “TOURISTSPOTS”. Write a SQL statement to fulfill the requirement.

[hint : Use alter statement to rename the table]

Quiz for Exam - Change the Name of PointOfInterest Table

Code:

sample.sql

alter table PointOfInterest RENAME to TOURISTPOTS;

Recommended:

Leave a Comment

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

x