Click here to Skip to main content
15,890,506 members
Home / Discussions / Database
   

Database

 
GeneralRe: ask about mammogram Pin
Chris Meech29-May-12 9:01
Chris Meech29-May-12 9:01 
GeneralRe: ask about mammogram Pin
JOAT-MON29-May-12 9:09
JOAT-MON29-May-12 9:09 
GeneralRe: ask about mammogram Pin
Chris Meech29-May-12 9:29
Chris Meech29-May-12 9:29 
GeneralRe: ask about mammogram Pin
JOAT-MON29-May-12 9:39
JOAT-MON29-May-12 9:39 
GeneralRe: ask about mammogram Pin
JohnPayton29-May-12 13:04
JohnPayton29-May-12 13:04 
QuestionBatch reporting framework for Oracle databases. Needed? Pin
Dmitri Novikov28-May-12 10:39
Dmitri Novikov28-May-12 10:39 
AnswerRe: Batch reporting framework for Oracle databases. Needed? Pin
Eddy Vluggen29-May-12 0:54
professionalEddy Vluggen29-May-12 0:54 
GeneralRe: Batch reporting framework for Oracle databases. Needed? Pin
Dmitri Novikov29-May-12 8:22
Dmitri Novikov29-May-12 8:22 
AnswerRe: Batch reporting framework for Oracle databases. Needed? Pin
Eddy Vluggen29-May-12 8:51
professionalEddy Vluggen29-May-12 8:51 
GeneralRe: Batch reporting framework for Oracle databases. Needed? Pin
Dmitri Novikov29-May-12 9:35
Dmitri Novikov29-May-12 9:35 
NewsDatabase driven Controls Pin
mauricemcse25-May-12 3:27
mauricemcse25-May-12 3:27 
GeneralRe: Database driven Controls Pin
Corporal Agarn27-May-12 1:58
professionalCorporal Agarn27-May-12 1:58 
QuestionLinking ITS Typing Test System to database Pin
abhijitp8422-May-12 23:01
abhijitp8422-May-12 23:01 
AnswerRe: Linking ITS Typing Test System to database Pin
Mycroft Holmes23-May-12 13:00
professionalMycroft Holmes23-May-12 13:00 
QuestionSQL Query Issue Pin
Nayan Ambaliya22-May-12 19:09
Nayan Ambaliya22-May-12 19:09 
AnswerRe: SQL Query Issue Pin
Mycroft Holmes22-May-12 22:36
professionalMycroft Holmes22-May-12 22:36 
AnswerRe: SQL Query Issue Pin
vvashishta24-May-12 23:44
vvashishta24-May-12 23:44 
AnswerRe: SQL Query Issue Pin
Eddy Vluggen25-May-12 0:01
professionalEddy Vluggen25-May-12 0:01 
GeneralRe: SQL Query Issue Pin
Pete O'Hanlon25-May-12 0:22
mvePete O'Hanlon25-May-12 0:22 
GeneralRe: SQL Query Issue Pin
Eddy Vluggen25-May-12 0:25
professionalEddy Vluggen25-May-12 0:25 
GeneralRe: SQL Query Issue Pin
Pete O'Hanlon25-May-12 1:23
mvePete O'Hanlon25-May-12 1:23 
GeneralRe: SQL Query Issue Pin
Eddy Vluggen25-May-12 1:28
professionalEddy Vluggen25-May-12 1:28 
QuestionCould anyone recommend an interactive application for mass data analysis? Pin
bestbird778822-May-12 16:24
bestbird778822-May-12 16:24 
AnswerRe: Could anyone recommend an interactive application for mass data analysis? Pin
Eddy Vluggen23-May-12 0:30
professionalEddy Vluggen23-May-12 0:30 
GeneralRe: Could anyone recommend an interactive application for mass data analysis? Pin
bestbird778823-May-12 20:56
bestbird778823-May-12 20:56 
Thank you for reply.
SQl lacks stepwise computation ablility, so It is not a ideal solution. What I mean about stepwise is:
1. In excel, I can write number "10" in A1 cell, then formula "=A1*5" in A2 cell. then formula "=A2+2" in A3 cell. A1->A2->A3, It's stepwise.
2. When I change 10 to 9 in A1, then result in A2 and A3 will changed automatic.
3. an example: a. to select out the 10 categories of best sellers b. as a further computation on the basis of result from a., to select out the top 20 products from each category, c. as a further comparison with that of the last year based on the result from a.
let's call SQL_A,SQL_B,SQL_C as SQL statements for a,b,c. when I changed SQL_A (for example change 10 categories to 9 categories ), I must change SQL_B and SQL_C. why? because SQL_B and SQL_C is based on SQL_A. that is, SQL_B may like:

with SQL_A as A

selet.......

Excel has another problem, It is too simple to process mass data analysis. for example, to compute the product whose annual sales values are all among the top 100.
data structure( sales table's fields): productID, time, value .
the sql solution is:
SQL
WITH sales1 AS (
 SELECT productID, YEAR(time) AS year, SUM(value) AS value1
 FROM sales
 GROUP BY productID, YEAR(time)
)
SELECT productID
FROM (
 SELECT productID
 FROM (
 SELECT productID,RANK() OVER(PARTITION BY year ORDER BY value1 DESC) rankorder
FROM sales1 ) T1
 WHERE rankorder<=100) T2
GROUP BY productID
HAVING COUNT(*)=(SELECT COUNT(DISTINCT year ) FROM sales1)

above code is hard to write in Excel.
So what I want is some like SQL + Excel, do you have some idea?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.