I am using MySQL. Here's an example, I want to rename a table A to B, so what's the difference between following statement:
alter table A rename to B;
and this one:
rename table A to B;
Can anyone give a detail compare between them? Is it vary based on different engine?