I exploited a SQLi vulnerability to enumerate the columns in a database by doing something like this:
/comment.php?id=738 order by 1;#
Column enumeration can be achieved in a manner indistinguishable from magic by using sqlmap.
It can also be achieved with Burp Suite's Intruder function.