|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
need help retrieving data from a table:
order_table order_id, method_payment (cash, cc), order_date(02-nov-02, 14-dec-02...etc) how do i get orders placed in first 10 days in november 2002 in which payment method was cash? |
|
#2
|
|||
|
|||
|
Please try:
select * from order_table where trunc(order_date,'DD') >= to_date('10-2003','mm-yyyy') and trunc(order_date,'DD') <= to_date('10-10-2003','mm-dd-yyyy') and method_payment = 'cash' Cheers, Dan |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > help with query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|