General information
Category:
Coding, syntax & commands
also try,
SELECT stk_code,trn_type,trn_date,cst_prce,str_nmbr, ;
SUM(nvl(trn_qnty,0)) AS m1_t ;
FROM test ;
WHERE MONTH(trn_date)=1 AND trn_type=1 and between(trn_date,ldStart,ldEnd) ;
GROUP BY stk_code,trn_type,trn_date,cst_prce,str_nmbr
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only