Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

PL/SQL group orders by date and sum the total

$
0
0

I need to group orders by date and sum the total,

My table looks like this :

TEST_DATE
TEST_ID - NUMBER
SUCC_ID - NUMBER

I need to group by date and sum the total, this is my query:

SELECT COUNT(*), TEST_ID, SUCC_ID
FROM MYTABS
GROUP BY TEST_DATE;

How can I?

thank you.


Viewing all articles
Browse latest Browse all 717

Trending Articles