SQL Language (MOSC)

MOSC Banner

paid and unpaid display

edited Feb 18, 2010 5:23AM in SQL Language (MOSC) 5 commentsAnswered
hi, have this script that i've been working on, first i have this output that will display all the invoices with corresponding receipt number(or).
now one of the managers wanted also to reflect the unpaid invoices, meaning the invoices may display with or without the receipt number.i've been trying to manipulate the script so i may meet their requirement. any help?

here's my script:

select distinct c.name,it.inv_no,i.coll_date,r.code,r.date_issued
from iteneraries i,receipts r,payments p,customers c,it_invoices it
where i.cust_code=c.code
and i.pcode=c.pcode

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center