Link to home
Start Free TrialLog in
Avatar of o0JoeCool0o
o0JoeCool0oFlag for Canada

asked on

How to use where clause in the oracle join?

Hi Everyone,

I have the below query the inner join with the where clause.  Though, the query gets executed but does not return any value.  How to use where clause in the Oracle Inner Join?
Select U.a from U Inner Join E on
E.entity = U.entity Where U.Unique_name = 'AREA ID';

Open in new window

SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of o0JoeCool0o

ASKER

@slightwv, I tried that but it does not give back any data.
@Guy Hengel,  Thanks for explaining me in detail.  But I need to have the e table in the query and I tried the left outer join then it does not use any filter and gives me back 1000 rows.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@magarity, The result should '1234',
2345,
3456,
4567. Numbers like this...
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

What we would be looking for is raw data from the two tables and expected results so we can set up a test case and provide working code.