Hw to find average of numbers
hw to find averageof numbers using sql select using the keyword as avg
for eg:
1+2+3+4/4
=2.5
with t as (select 1 b from dual union
select 2 b from dual union
select 3 b from dual union
select 4 b from dual)
select avg(b) from t
Similar Messages
-
How do you find your blocked numbers in Contacts or on your iphone?
How do you find your blocked numbers in Contacts or on your iphone?
Is there a way to get a list of the blocked numbers?Hey jeff work,
Thanks for using Apple Support Communities.
This article should be exactly what you are looking for.
iOS 7: Understanding call and message blocking
http://support.apple.com/kb/ht5845
You can review your blocked list through one of the following locations:
Settings > Phone > Blocked
Have a nice day,
Mario -
Finding missed sequence numbers and rows from a fact table
Finding missed sequence numbers and rows from a fact table
Hi
I am working on an OLAP date cube with the following schema:
As you can see there is a fact transaction with two dimensions called cardNumber and Sequence. Card dimension contains about three million card numbers.
Sequence dimension contains a sequence number from 0 to 255. Fact transaction contains about 400 million transactions of those cards.
Each transaction has a sequence number in 0 to 255 ranges. If sequence number of transactions of a card reaches to 255 the next transaction would get 0 as a sequence number.
For example if a card has 1000 transactions then sequence numbers are as follows;
Transaction 1 to transaction 256 with sequences from 0 to 255
Transaction 257 to transaction 512 with sequences from 0 to 255
Transaction 513 to transaction 768 with sequences from 0 to 255
Transaction 769 to transaction 1000 with sequences from 0 to 231
The problem is that:
Sometimes there are several missed transactions. For example instead of sequence from 0 to 255, sequences are from 0 to 150 and then from 160 to 255. Here 10 transactions have been missed.
How can I find all missed transactions of all cards with a MDX QUERY?
I really appreciate for helpsThank you Liao
I need to find missed numbers, In this scenario I want the query to tell the missed numbers are: 151,152,153,154,155,156,157,158,159
Relative transactions are also missed, so I think it is impossible to get them by your MDX query
Suppose this:
date
time
sequence
20140701
23:22:00
149
20140701
23:44:00
150
20140702
8:30:00
160
20140702
9:30:00
161
20140702
11:30:00
162
20140702
11:45:00
163
As you can see the sequence number of the last transaction at the 20140701 is 150
We expecting that the first transaction of the next day should be 151 but it is 160. Those 10 transactions are totally missed and we just need to
find missed sequence numbers -
if I've lost or had my iPod nano 3rd gen stolen, how can i find the serial numbers? Nothing in iTunes but i am sure i linked them before...
They are not listed as devices on the itunes store account...Hi BradSLane,
Thanks for using Apple Support Communities. This article has one method to find your serial number:
Reporting a lost or stolen Apple product
http://support.apple.com/kb/ht2526
If you have lost or found an Apple product, please contact your local law enforcement agency to report it. Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
Go to My Support Profile*.
Sign in with your Apple ID.
View your purchases in "My Products".
* Currently available only in certain languages.
Note: If you need help remembering your Apple ID(s), go here.
Take care,
- Ari -
How do i find out what numbers i have included on the find my phone app?
how do i find out what numbers i have included on the find my phone app?
Sorry, but what do you mean by "what numbers I have included"? Find My iPhone doesn't store nor go by phone numbers, if that's what you're referring to. It's done by the Apple ID you used to set up Find My iPhone on the device you wish to track, and the devices will be shown by name.
You may need to explain further what it is you're asking or are trying to accomplish.
Regards. -
I cannot find my serial numbers for installation anywhere on my CS5 box set?
I received my CS5 box set about 3 years ago and installed it all fine to my MacBook Pro then. I recently wiped and reformatted my Mac as it was becoming slow. All the software was backed up on my hard drive, however after reading forums it sounds like Adobe aren't all inclusive style apps, so need reinstalling with a disk. I have my full box set but when it came to install I cannot find my serial numbers ANYWHERE. When I went onto customer care it shows that they should be on the back of the DVD sleeves. I really need to install these programs back and I'm getting quite frustrated, help?!
To locate the serial number:
http://helpx.adobe.com/x-productkb/global/find-serial-number.html
You might be able to find your serial number thru your Adobe account online if you registered the products when you originally installed them.
Beyond all that your last hope will be in contacting Adobe support thru chat to see if they can assist:
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
hi,
columns
year_month_no
200901,200902 etc
quantity,
10,30,50 etc
part
AB,BC,ZD etc
Average for last 12 months excluding current month
for finding average for previous 12 months of quantity iam using
AVG(quantity) OVER (ORDER BY year_month_no
ROWS BETWEEN 12 PRECEDING AND 1 PRECEDING) AVG_QTY_SALES
but year_month_no is repeating in the table
like
200901 10 AB
200901 20 BC etc
so when i am using rows between 12 preceding 1 it is fetching data for the same year_month_no because it is repeating instead of rolling up to previous 12 months..is there any solution for this..please help me as i am a naive user to oracle
thanks in advance
aswinHi, Aswin,
It sounds like you need a PARTITION BY clause:
AVG (quantity) OVER (
PARTITION BY part -- ***** ADD THIS *****
ORDER BY year_month_no
ROWS BETWEEN 12 PRECEDING
AND 1 PRECEDING
) AS ave_qty_sales"PARTITION BY part" menas that the function will be computed separately for each part. For example, owhen calculating the average for a row where part='AB', only the 12 preceding rows that also have part='AB' will be considered.
Is year_month_no a NUMBER? That's a bad idea. Columns that represent points in time should be DATEs.
You're using ROWS BETWEEN. so if there are two (or more) rows with the same part and year_month_no, then the preceding 12 ROWS might represent less that 12 months. On the other hand, if there are no rows for a given part in some months, the the ROWS could be more that 12 months. You might want RANGE BETWEEN instead of ROWS BETWEEN.
Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements) for all the tables involved, so the people who want to help you can re-create the problem and test their ideas. Also post the results you want from that data, and an explanation of how you get those results from that data.
In the case of a DML operation (such as INSERT) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
Explain, using specific examples, how you get those results from that data.
lways say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ {message:id=9360002} -
Where can we find the part numbers for Multisim and Ultiboard professional versi
I want to purchase Multisim an Ultiboard, professional version. We got a quotation with the following answer:
Part number: 852798-11J Upgrade, NI Academic site licence;Q3 2009 Department Teaching Circuit Design Software Option
Part Number:900798_11 NI academic Site Licence-Department Teaching Maintenance for Circuits Option Includes automatic SW upgrades for 1 year
I have no idea where I can find those part numbers on the NI web site and for me the qouotation reffers to the academic version not the professional.
Can anybody from NI clarify the mystery.
JohnJohnnelu,
Thanks for your reply. If you received a quotation, please email me directly with the quotation number and I will have someone update this for you. I am not sure why you would have received a quote on the educational version in place of the Professional version.
Specifically answering your PN questions... here are the current P/Ns for the Professional Design Suites (Multisim and Ultiboard).
NI Circuit Design Suite, Base -> 779930-09
NI Circuit Design Suite, Full -> 779928-09
NI Circuit Design Suite, PowerPro -> 779927-09
http://www.ni.com/multisim/professional.htm
You can get price information online - you will need to select the specific item on the left and
set your country code on the top.
Regards,
Patrick Noonan
Business Development Manager
National Instruments - Electronics Workbench Group
50 Market St 1-A
South Portland, ME 04106
Phone: 207 892-9130
Email: [email protected] -
i get a box of products but i cant find any serial numbers at the back of CDs or the box, so what should i do?
To locate the serial number:
http://helpx.adobe.com/x-productkb/global/find-serial-number.html
If you continue to have a problem, you need to contact Adobe Support either by chat or via phone when you have serial number and activation issues. Here is a link to a page with options to help make contact:
http://www.adobe.com/support/download-install/supportinfo/ -
Where can I find the model numbers for the various generations of TC?
I'm trying to find out if there is some place within Apple to find the model numbers associated with the different generations of the Time Capsuls
Don't think Apple provides this type of info, but MacTracker will have all the info that you want.
Mactracker - Get Info on any Mac
If you trust Wikipedia.....
http://en.wikipedia.org/wiki/Time_Capsule_(Apple)
Then click the "Did you mean Time Capsule Apple" link at the top of the page. -
Just bought a macbook air and can't find pages or numbers
Just bought a macbook air and can't find pages or numbers; told this was on it and so says Apple.com…lost??
http://www.apple.com/creativity-apps/mac/up-to-date/
Best. -
To find missing sequence numbers in a table
Hi ,
I populate the primary key column of a table using sequence which starts with 1 and increments by 1. I need to find the sequence numbers which have been skipped while inserting.Hi,
Please refere the similar thread.
Re: Identifying the missing record in a series
Regards -
How to find Sales order numbers for List of Deliveries
Hi
How to find Sales order numbers for List of Deliveries
Thanks
MuthuHi,
Open the delivery list.
Select a delivery, goto menubar, environmment, document flow.
Here u can able to see the order no. (but, here u can see one by one , not cumulatively)
Regards
Kaleeswaran -
How do I find out what numbers & letters were scratched off of my iTunes Gift Card by mistake?
iTunes Store: Invalid, Inactive, or Illegible codes - http://support.apple.com/kb/TS1292 - gift cards
-
Average only numbers and not text
I want to average a series of numbers A10:A20 which contain mixed of numbers and letters but only average the numbers. Each cell only has letters or numbers and never both.
I have tried
averageif(A10:A20, "<1", A10:A20)
however that does not work. Any suggestions??What need for your 'complex' formula.
The short and simple
=AVERAGE(A10:A20)
does the trick !
Yvan KOENIG (from FRANCE mardi 30 juin 2009 11:24:05)
Maybe you are looking for
-
Mac Mini no longer prints A3 size...
Hello, I have an issue with a Mac Mini and a Canon 1100 Lazer printer... I upgraded the operating system from 10.3.7 > 10.3.9. The Mini no longer prints to A3 size. I have done all the usual maintenance. Deleted all the usual plist files. Still no go
-
Problem with daisy chaining HDDs and Time Machine
I have purchased 2 WD My Passport Studio FireWire 2TB HDDs which I have daisy chained to my MacBook Pro. One I have assigned to be the Time Machine backup the other as an additional data drive. Both are formatted for Mac OS Extended (Journaled). I
-
Credit block in delivery document (not in posting goods issue)
Good afternoon! When I try to deliver an sales order with exceeded credit limit, the following occurs: I enter in tcode VL01N, input the order and press enter, then the system issues a warning "Credit user check 1 unsuccessful" because some condition
-
Ive had my ipod mini for about 17 months,and im not under warrenty. On my ear buds, the wire detached from the base of the earbud. Do you think Apple will replace this if i go to the store or send in a request? Or should I just buy new ones myself? T
-
When listening to music on my iPod Touch, I have found that my left earbud does not get sound. However, the main thing is that it is not my headphones. I use my apple headphones with other iPods and my computer and it works fine and when I plug other