MariaDB root@(none):dyw> alter table tbl rename atbl; You're about to run a destructive command. Do you want to proceed? (y/n): y Your call! Query OK, 0 rows affected Time: 0.036s
MariaDB root@(none):dyw> show tables; +---------------+ | Tables_in_dyw | +---------------+ | atbl | | dcount | +---------------+ 2 rows in set Time: 0.021s
MariaDB root@(none):dyw> alter table atbl rename tbl; You're about to run a destructive command. Do you want to proceed? (y/n): y Your call! Query OK, 0 rows affected Time: 0.019s
MariaDB root@(none):dyw> show tables; +---------------+ | Tables_in_dyw | +---------------+ | dcount | | tbl | +---------------+ 2 rows in set Time: 0.019s