Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Outer Join....confused
Hi!
I am not very good at compiling and executing queries on, for me, unknown
data, in my mind,
but I think the line above the outer joined one seems to be inner joined,
and (if I guess right) from the same table
as "spraddr_cnty_code".
Frank
Danny McNabb <daniel.mcnabb_at_eku.edu> wrote in message
news:ccbe6c8f.0107050700.3ee102ee_at_posting.google.com...
> I have a query that looks like this
> select stvcnty_desc,
> count(distinct saradap_pidm)
> from saradap,
spraddr, stvcnty> --problem is there are counties I want to display that have a count
> where saradap_term_code_entry = 200210
> and saradap_styp_code = 'N'
> and saradap_pidm = spraddr_pidm
> stvcnty_code = spraddr_cnty_code(+)
> and stvcnty_code between 001 and 120
> group by stvcnty_desc
![]() |
![]() |