Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

i have 9 values in a table i.e

-99
-56
-32
41
-2
33
95
-88
55

my question is that i wanna elimenate all -ve values and
wann sum of + values in report

i m using devsuite 10g

its urgent

kindly if anyone knows that answer message me the following
yahoo id

thanx

ALI
smalipaki@yahoo.com

Answer Posted / ajaz ahmad kumhar

SELECT SUM(COL_NAME) FROM
( SELECT COL_NAME FROM TABLE_NAME
ORDER BY COL_NAME DESC)
WHERE ROWNUM<=4;

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you convert a bit-mapped report to ASCII (character-mode) Report ? How ?

2287


How to create Drill down report?

2127


In what sequence do triggers get fired by oracle forms?

955


Can we invoke one form from another in a multi-forms application?

1131


in user parameter property we have list of values.can we write select query for binding? for example:: select empno from emp where deptno=:deptnum :deptnum is first parameter it displays distinct dept nos. if i do like this it is giving error:: bind variables are not allowed in the select statement

1693


why the Ctl file u put only in bin folder why not in other folder

2043


how report can be generated if we have the database designed in oracle 10g?

1886


What is the difference between BPA AND Contract What are documents and test cases u followed

2378


How can we expand Parameter Form Canvas on Reports 6i?

2421


what is the difference between call_form, new_form and open_form?

1306


Have you come across the error ?Failed while printing ?. Why it is happened and How to solve that?

1981


List out the oracle forms configuration files?

1072


List the different types of columns in oracle reports.

1003


a text item is there what r the different types of triggers associated with it

2014


how to send file attachment from oracle forms

2549