I\'d like to do something like this:
SELECT table.id AS prefix_id, table.name AS prefix_name
... and have the prefix added dynamically to a
To avoid ambiguity in columns with multiple tables it appears you must manually specify each column name that exists with the same name in more than one table.
http://dev.mysql.com/doc/refman/5.0/en/identifier-qualifiers.html