Rename a table in MySQL

前端 未结 16 1462
逝去的感伤
逝去的感伤 2020-12-04 07:08

Renaming a table is not working in MySQL

RENAME TABLE group TO member;

The error message is



        
16条回答
  •  离开以前
    2020-12-04 07:14

    You can use

    RENAME TABLE `group` TO `member`;
    

    Use back tick (`) instead of single quote (').

提交回复
热议问题