I\'m creating a view that is using data that comes from the same table twice. As a result, same column names appear twice.
Thus, i need to give aliases to these colu
Can you not just use SELECT * and then in your code refer to u.field1 and u2.field2?
SELECT *
u.field1
u2.field2