Presto 101t Documentation

8.1. ALTER TABLE

8.1. ALTER TABLE

Synopsis

ALTER TABLE name RENAME TO new_name

Description

Change the definition of an existing table.

Examples

Rename table users to people:

ALTER TABLE users RENAME TO people;