Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outer join on like

Status
Not open for further replies.

frasernm

Programmer
Aug 7, 2001
25
0
0
GB
Hi,

Is it possible to do an outer join using a like condition?
How about , for example, on (a.a like b.a or a.a like b.c)?

Thanks in advance,

Fraser
 
Hi Fraser!

What about my exaple?

select ename
from emp,dept
where emp.ename like substr(dept.loc,1,1)||'%';
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top