SQL*Plus (MOSC)

MOSC Banner

help in script?

edited May 11, 2009 12:15AM in SQL*Plus (MOSC) 1 commentAnswered ✓
hi all,
i have two sets of scripts which i run regularly, now i want them to join together since they only differ on the third column of my output, problem is i dont get the exact figures as expected.
here's the script w/ corresponding output:

script:
select substr(c.name,1,50)PRINCIPAL,i.coll_date "IT_DATE",count(i.code) "TRIPS_ITD"
from sbis.iteneraries i, sbis.customers c, sbis.customers k
where to_char(i.coll_date,'YYYYMMDD') = 'date'
and i.pcode=c.code
and c.code=c.pcode
and i.cust_code=k.code
and i.bank_provider='bnk'

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