Open DrMaemi opened 1 year ago
CREATE TABLE B_TABLE LIKE A_TABLE;
CREATE TABLE B_TABLE select * from A_TABLE;
INSERT INTO B_TABLE SELECT * FROM A_TABLE;
DROP TABLE 테이블명;
ALTER TABLE 테이블명 ADD 컬럼명;
ALTER TABLE 테이블명 DROP 컬럼명;
CREATE TABLE B_TABLE LIKE A_TABLE;
CREATE TABLE B_TABLE select * from A_TABLE;
INSERT INTO B_TABLE SELECT * FROM A_TABLE;
DROP TABLE 테이블명;
ALTER TABLE 테이블명 ADD 컬럼명;
ALTER TABLE 테이블명 DROP 컬럼명;
A. 참조