
DATABASE를 조회

현재 사용중인 DATABASE를 변경

현재 사용중인 DATABASE를 확인
DATABASE에 추가 되어 있는 테이블을 확인

테이블 scheme를 확인

RENAME TABLE old_table TO new_table;

ALTER TABLE old_table RENAME new_table;
old_table2 TO new_table2,
old_table3 TO new_table3;
RENAME TABLE current_db.table_name TO other_db.table_name;