Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Qualifying table names for column references

Status
Not open for further replies.

marklenel

Technical User
Aug 29, 2003
46
GB
It is possible in MySQL to implicitly qualify the table names where columns are unique to a given table e.g.

SELECT
MyTable1.MyColumn1
FROM MyTable1 INNER JOIN MyTable2 etc.

can also be written as

SELECT
MyColumn1
FROM MyTable1 INNER JOIN MyTable 2 etc.

on the assumption that MyColumn1 is unique to the first table only.

Is there any effect on performance for either option?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top