I've been looking far and wide, but I can't find an answer, probably because I can't figure out the right way to ask the question. So here it is: is there any reason to prefer any of these two queries?
SELECT * FROM table1, table2 WHERE table1.id = table2.id;
and
SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id;
The question stems from a much more complicated query that I am trying to optimize, but I think those two queries contain the essence of the question, and hopefully by asking in this way it will be more useful to others. Thanks in advance.