• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SQL Joins syntax

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I wish to know whether the SQL Joins syntax has changed for the latest versions of Oracle database?

I was reading SQL from an Oracle 9i book and there SQL Joins syntax was without any clauses or keywords

but in w3schools SQL tutorial specific keywords like INNER JOIN, etc are being used.

Hence please tell me which syntax I should follow.

Thanks
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I always use this syntax:
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are examples of join syntax in Oracle 12c.

Because I learned Oracle many years ago and have mostly worked on dedicated Oracle platforms, I still tend to use the Oracle-style syntax e.g.

But the standard "INNER JOIN..." syntax works on Oracle as well, as in Roel's example.

PS: I like the way Oracle helps us keep track of industry buzzwords. Oracle 8i/9i were about "i for internet". 10g and 11g were about "g for grid", and 12c is "c for cloud". Very handy!
 
reply
    Bookmark Topic Watch Topic
  • New Topic