Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to do the SELECT?
Sorry for the garbage (2nd sql), I forgot to remove my testing sql...
Pierre Q.T. Nguyen a écrit dans le message ...
>SELECT * FROM my_table
> WHERE odr_no IN
> (SELECT col_1 FROM
> (SELECT odr_no col_1, SUM(pay_rate) col_2 FROM my_table
> GROUP BY odr_no)
> WHERE col_2 = 100);
>
>select * from contrat
>where code_org_2 in
>(select aa from
>(select code_org_2 aa,sum(taux_majoration_reg_eloignee) bb from contrat
>group by code_org_2)
>where bb>80)
>
Received on Fri Apr 23 1999 - 22:23:26 CDT
![]() |
![]() |