Possible Duplicate:
SQL join: where clause vs. on clause
What are the difference between of following table joining ways and which one is more appreciate for query optimization.
SELECT SP.*, S.SNAME, S.STATUS, S.CITY FROM S INNER JOIN SP ON S.SNO = SP.SNO; and
SELECT SP.*, S.SNAME, S.STATUS, S.CITY FROM S, SP WHERE S.SNO = SP.SNO;
OUTERjoins, you should be using the first style, and then for consistency, you should probably use the same style forINNERjoins.