Making new SQL Statment without canceling current one
<p>Is there some way to completely change the SQL statement while writing it:</p>

<p>Let's say I have this:</p>

<pre><code>SELECT * from `table1` WHERE `column1` LIKE '%%'
</code></pre>

<p>But now I decide I actually want to <code>SELECT</code> something completely different, like <code>table2</code> e.g., could I continue writing (i.e. without deleting what I've written this far and without making a completely new statement (seperated by a semicolon)) and still get the content of <code>table2</code>?
 (which I would normally get by writing <code>SELECT * from table2</code>)?</p>

<p>I'm asking cause I'm fascinated by SQL injection and wonder how far you can go with it.</p>