Two snippets of MySQL:
SELECT * FROM annoyingly_long_left_hand_table
LEFT JOIN annoyingly_long_right_hand_table
ON annoyingly_long_left_hand_table.id = annoyingly_long_right_hand_table.id;
vs
SELECT * FROM annoyingly_long_left_hand_table
LEFT JOIN annoyingly_long_right_hand_table
USING (id);
Given that both tables have an id
field, is there any disadvantage to using the second version. It isn't just laziness - the version with USING seems far clearer to me.
(Please don't mention aliasing - I want to know if there is any reason to favour one conditional structure over the other)