1.

The statement to change the table name is __________(a) CHANGE(b) CHANGENAME(c) CHANGENM(d) RENAMEI got this question in class test.This intriguing question comes from Creating, Dropping, Indexing and Altering Tables topic in portion Using SQL to Manage Data of MySQL

Answer»

The correct choice is (d) RENAME

Easy explanation: To change the name of a table, the keyword ‘RENAME’ can be used. It can be used with the ‘ALTER TABLE’ clause. It can ALSO be used as a statement in itself LIKE ‘RENAME TABLE old_tbl new_tbl’.



Discussion

No Comment Found

Related InterviewSolutions