If I have a table A with primary key w, and table B with primary key x and foreign key referring to A.w called y, and a field z. What is the difference between the following queries:
SELECT w, x, y, z FROM A INNER JOIN B ON A.w = B.y WHERE B.z = SomeValue
and
SELECT w, x, y, z FROM B INNER JOIN A ON A.w = B.y WHERE B.z = SomeValue
Is there still a difference if B.z and B.y are a compound primary key?
If there isn't a difference which is 'more standard' code?
 
     
    