|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
pl/sql table
how would i write the following sql statment using PL/sql table?
SELECT to_char (orderdate, 'yyyymm') as ORDERDATE, SUM(total) as SUM, ordid, custid, shipdate FROM ORD WHERE ORDERDATE >= to_date ('198701','yyyymm') group by orderdate,ordid, custid, shipdate having SUM(total) > 1000 |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > pl/sql table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|