RENAME TABLE is used to change the name of a table.

Syntax

Flow chart showing the syntax of the RENAME TABLE keyword

Example

  1. RENAME TABLE 'test.csv' TO 'myTable';