Copy Table
CREATE TABLE students2 LIKE students; copies structure (columns, indexes) without rows. CREATE TABLE students2 AS SELECT * FROM students; copies data but may skip some indexes/PK details — check SHOW CREATE TABLE after.
INSERT INTO students2 SELECT * FROM students; fills a table that already exists.
Trap — AS SELECT then wondering why AUTO_INCREMENT / FKs vanished. LIKE then INSERT is cleaner for a clone.
On the example next to this theory: Copy Table: create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Exam tip
LIKE = structure. AS SELECT = data. Combine for a clone.