Mufasa...
That seems to be the base of what I'm looking for! Worked like a charm. I'm gonna tweak the query a bit to look for a select number of accounts within a particular period, but in essence, I think I'm in good shape now.
Thanks!
Darrel
Bill...
I tried your sugesstion and I received a missing right parenthesis error on the "max(checknum) maxc" field.
When I try to run the virtual table query by itself, I get a SQL command not properly ended on the same field.
------
Mufasa...
In essence, if I have a TRANS table that reads...
Here's what I need...
My simple query looks like this....
SELECT acctnum, checknum, postdate, amt
FROM trans
WHERE checknum is not null
AND postdate between '30-JAN-06' AND '02-FEB-06'
GROUP BY acctnum, checknum, postdate, amt
ORDER BY acctnum, checknum
...I need to create a report that...
Here's what I need...
My simple query looks like this....
SELECT acctnum, checknum, postdate, amt
FROM trans
WHERE checknum is not null
AND postdate between '30-JAN-06' AND '02-FEB-06'
GROUP BY acctnum, checknum, postdate, amt
ORDER BY acctnum, checknum
...I need to create a report that...
Hello all...
I'm have a slight dilemma in SQL. I'm running the below query...
select DISTINCT a.acct,
p.first||' '||p.last OWNER,
p2.first||' '||p2.last OWNER2
from person p, person p2, act a, actperson arp
where a.NBR = p.nbr
and arp.nbr = p2.nbr
and a.acct = arp.acct
ACCT OWNER...
Please pardon the long subject, but I have no idea how to explain this issue. Has anyone out there ever tried this one...
I have a simple query that I need to complicate. This hopefully can be done. Take a look at the below sample data...
select * from TABLE_A where nbr = '1234';
NBR REC TYPE...
I'm having a severe brain-freeze here, guys. Here's my dilemma: I have over 350 rows in my ADDRESS table in which a dataload has gone wrong.
Over 350 rows were inserted into the ADDLINE table with no respect for the LINENBR value. And as we all know, if the line numbers aren't set to 1 and 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.