Is there some way to completely change the SQL statement while writing it:
Let's say I have this:
SELECT * from `table1` WHERE `column1` LIKE '%%'
But now I decide I actually want to SELECT
something completely different, like table2
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 table2
?
(which I would normally get by writing SELECT * from table2
)?
I'm asking cause I'm fascinated by SQL injection and wonder how far you can go with it.