About 23,000,000 results
Open links in new tab
  1. sql - Oracle: Need to calculate rolling average for past 3 months …

    Oracle: Need to calculate rolling average for past 3 months where we have more than one submission per month Asked 11 years, 1 month ago Modified 1 year, 8 months ago Viewed …

  2. sql - Find the average value in a column of type date-time - Stack …

    From a table of 5.000 records with a datetime column, how do I find the average of those date-timestamps? I've tried AVG(datefield), but it says: Operand data type datetime is invalid for …

  3. sql - How to average time intervals? - Stack Overflow

    In Oracle 10g I have a table that holds timestamps showing how long certain operations took. It has two timestamp fields: starttime and endtime. I want to find averages of the durations given …

  4. sql - Average of multiple columns - Stack Overflow

    In PostgreSQL, to get the average of multiple (2 to 8) columns in one row just define a set of seven functions called average (). Will produce the average of the non-null columns.

  5. SQL Query for 7 Day Rolling Average in SQL Server

    SQL Query for 7 Day Rolling Average in SQL Server Asked 11 years, 2 months ago Modified 6 years, 11 months ago Viewed 138k times

  6. How do I retrieve decimals when rounding an average in SQL

    Nov 6, 2012 · Here is my SQL statement SELECT ROUND(AVG(column_name), 100) FROM [database].[dbo].[table] The answer I retrieve is 3 with a possible range of numbers between 1 …

  7. Trying to get the average of a count resultset - Stack Overflow

    WHERE (B.Id = T.Id)) GROUP BY T.Grouping now I am getting a resultset with a lot of numbers. I want to get the average of this list. At the moment, I am importing the list into excel and use its …

  8. mysql - SQL query with avg and group by - Stack Overflow

    SQL query with avg and group by Asked 13 years, 6 months ago Modified 3 years ago Viewed 249k times

  9. sql - Avg of a Sum in one query - Stack Overflow

    May 21, 2015 · I would like to know if I can get the average of a sum in one single SQL SERVER request, Have tried to do it with the following request but it doesn't work: SELECT t.client, …

  10. sql - Calculate average over a date range - Stack Overflow

    May 10, 2014 · 2 I'd like to find out how many people did any event (Count of records in EvntFct table). This provides me with the count for a day - April 1st. I'm using Teradata as my SQl …