Hi,
I've got the following query:
Code:
SELECT b.*, a.* FROM books b LEFT JOIN authors a ON b.autor_id = b.id
Is it possible to get all columns from the table authors with a prefix? So I can see in my php code from what table the field is comming?
I want something like this:
Code:
SELECT b.*, a.* as author+nameOfTheColumn FROM books b LEFT JOIN authors a ON b.autor_id = b.id
---
Forgot to change the title, but now I cannot change it anymore?