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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to do the SELECT sql ?

Re: How to do the SELECT sql ?

From: Vrajesh Patel <vrajesh.patel_at_mci.com>
Date: Fri, 16 Apr 1999 16:32:29 GMT
Message-ID: <3717660E.F2AF3292@mci.com>


Use break on fetures of SQL*PLUS

In your case...Break on PayNo, PayAmt and try executing query with join...

Will work.

Thanks,

Vrajesh.

Violin wrote:

> Hello all,
> I have a SELECT question.
> If I have 2 tables : PAYMENT and INVOICE
>
> PAYMENT Example of PAYMENT
> --------------------------------- ---------------------------------
> pay_no CHAR(4) 0001 5500
> pay_amt NUMBER(6)
>
> INVOICE Example of INVOICE
> --------------------------------- --------------------------------
> pay_no CHAR(4) 0001 A00001 2850 150
> inv_no CHAR(10) 0001 A00002 2425 75
> inv_amt NUMBER(6)
> inv_tax NUMBER(6)
>
> How to have the result ?
>
> PAY_NO PAY_AMT INV_NO INV_AMT INV_TAX
> ------------------------------------------------------------------------------------
> 0001 5500 A00001 2850 150
> A00002 2475 75
Received on Fri Apr 16 1999 - 11:32:29 CDT

Original text of this message

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