Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: where clause pb

Re: where clause pb

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Mon, 5 Nov 2001 13:25:14 -0000
Message-ID: <3be69341$0$8511$ed9e5944@reading.news.pipex.net>


Yes you can certainly write in this format for example

select num_rows from dba_tables
where table_name in (select table_name from user_tables where last_analyzed is not null)
or owner = 'SYSTEM'

which returns results on my system when run as a user with dba privs.

perehaps you could post your actual sql and any error messages.

--
Niall Litchfield
Oracle DBA
Audit Commission Uk

"gil guerillot" <gil.guerillot_at_ratp.fr> wrote in message
news:9s5sc4$2q4$1_at_gotix.reseau.ratp...

> I have a SQL query like this:
>
>
> Select *
> from table1
> where condition1 in(select field1 from table2
> where condition2=parameter1)
> or condition1 like parameter2
>
>
> Is it possible like this ?
> result never appear
>
>
>
Received on Mon Nov 05 2001 - 07:25:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US