I have a table \'A B C\' (with spaces, don\'t ask me why) in MySQL database. I have to rename it to \'ABC\' This query doesn\'t work :(
rename table \'A B
Escape the name with backticks.
rename table `A B C` to ABC