Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle SQL Syntax: Inner Join

I don't have access to an Oracle Database right now, so I'm posting my question here:

Is the following statement valid Oracle SQL Syntax?

SELECT a1
FROM t1 INNER JOIN t2

I'm particularly wondering whether we need to specify a join attribute for the inner join.

Best, Will

like image 783
Will Avatar asked Sep 23 '26 08:09

Will


1 Answers

You're missing ON

Like

SELECT a1
FROM t1 INNER JOIN t2
ON t1.SomeID = t2.SomeID
like image 185
Conrad Frix Avatar answered Sep 25 '26 21:09

Conrad Frix



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!