title: Escape mysql table name
body: <p>How do I escape a table name named <code>log\'; WAITFOR DELAY \'0:0:5\';--</code>?</p>
  
  <p>I want to delete the table.</p>
  
  <p>None of these works:</p>
  
  <pre><code>SHOW TABLES LIKE 'log\\\'; WAITFOR DELAY \\\'0:0:5\\\';--';
  SHOW TABLES LIKE "log\\'; WAITFOR DELAY \\'0:0:5\\';--";
  SHOW TABLES LIKE `log\\'; WAITFOR DELAY \\'0:0:5\\';--`;
  </code></pre>
  
  <p>The last one gives an error, while the others gives no results. The error is:</p>
  
  <pre><code>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`log\\'; WAITFOR DELAY \\'0:0:5\\';--`' at line 1
  </code></pre>