The second way does the same thing, only with ANSI (American National Standards Institute standardized Structured Query Language) SQL, a standard form of SQL. Research it further to find its pros and cons.
http://it.toolbox.com/blogs/oracle-experience/a-case-for-ansi-sql-15647