MySQL Generator

RENAME Table Structure

Query Output:

CopiedCopy Code

ALTER TABLE <old_table> RENAME <new_table>;


DROP Table Structure

Query Output:

CopiedCopy Code

DROP TABLE IF EXISTS <table_name>;

COPY Table Structure

Query Output:

CopiedCopy Code

CREATE TABLE <new_table> LIKE <old_table>;