There are two tables company and employee in my database. Emp_id is the only primary_key inside employee table and company_id is the only primary key inside company table. Both company and employee tables have relationship such that Emp_id of employee table acts as a foreign key inside company table. Now my question is what kind of join is below in oracle:-
Secondly how many joins are there in oracle? I know about following:-
Join (or, inner join)
Left join (or, Left outer join)
Right join (or, Right outer join)
Full join
Are these joins differ when it comes out to be other databases like mysql or sql server in terms of its number or same, only the terminology is different?
I used to apply such joins(shown above) everywhere but never knew in which category it belongs to? What I think is that it does not belongs to left and right joins and not sure about full join. I think may be it belongs to inner join because it will return records if at least there is match on both tables else will not. If I'm right here (means it does belong to inner join) then I have read the syntax on
http://www.w3schools.com that following is the syntax for inner join which different what I'm applying like shown above:-
Please clear my doubts about all joins by explaining these with simple example.