I'm wondering how to make an alias for a combination of double joined tables.
So, the question is TableOne natural join TableTwo and then join TableThree with AID=AbID
, and I'd like to give this combined table an alias like NewTable.
I tried:
((TableOne NATURAL JOIN TableTwo) JOIN TableThree ON (AID = AbID) AS NewTable
but seems not working.