dbTalk Databases Forums  

Oracle Query Help

comp.databases comp.databases


Discuss Oracle Query Help in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Novs
 
Posts: n/a

Default Oracle Query Help - 08-18-2006 , 07:45 AM






Dear Oracle Sponge,

I am using Raptor to query an Oracle database.

here is an example DB

CODE Instances Day
100 27 Aug 18
101 30 Aug 18
102 10101 Aug 18
100 45 Aug 18
100 85 Aug 18
100 780 Aug 19
101 45 Aug 19

I want to run a query that gets a single row that sums the instances
field for only Code 100 from Aug 18th through Aug 19th. The key is, it
needs to be in a single row, because the actual table I am using has
millions of rows and it is not feasible to return all of them.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.