Click here to Skip to main content
16,014,392 members
Home / Discussions / Database
   

Database

 
AnswerRe: Speed consideration Pin
Puneet Sri5-Jun-07 23:23
Puneet Sri5-Jun-07 23:23 
GeneralRe: Speed consideration Pin
Mike Dimmick6-Jun-07 0:53
Mike Dimmick6-Jun-07 0:53 
AnswerRe: Speed consideration Pin
Arun.Immanuel6-Jun-07 3:55
Arun.Immanuel6-Jun-07 3:55 
Questionfind duplicated rows Pin
rkherath5-Jun-07 18:56
rkherath5-Jun-07 18:56 
AnswerRe: find duplicated rows Pin
ganesamoorthidhayalan5-Jun-07 21:18
ganesamoorthidhayalan5-Jun-07 21:18 
AnswerRe: find duplicated rows Pin
ganesamoorthidhayalan5-Jun-07 21:29
ganesamoorthidhayalan5-Jun-07 21:29 
GeneralRe: find duplicated rows Pin
rkherath6-Jun-07 0:18
rkherath6-Jun-07 0:18 
QuestionHELP...SQL problem Pin
xuyuan5-Jun-07 17:48
xuyuan5-Jun-07 17:48 
I'm using SQL to output some data from the 3 table below (Sales, Product,& Staff).
How if i want to display a table as this...Have any ideas??

ProductId TotalSale Sale_of_team1 sale_of_team2 sale_of_team3
P012 3 0 3 0
P016 27 7 0 20
P017 4 4 0 0
P019 2 0 2 0
P022 2 0 2 0


>>Sales
ProductId Date Week SalesUnit StaffId

P012 20070514 20 3 S002
P016 20070531 22 7 S001
P016 20070531 22 20 S003
P017 20070531 22 2 S001
P017 20070523 21 2 S001
P019 20070530 22 2 S002
P022 20070502 18 2 S002


>>Product
ProductId ProductName Category Cost

P012 ADSL 512M/256K Streamyx 77
P016 LT 38 Lets Talk 38
P017 PLAN A Lets Talk 68
P019 PLAN C Lets Talk 198
P022 Italk Mobile-50 Italk Prepaid Cards 50


>>Staff
StaffId StaffName Team Level

S001 Jass 1 1
S002 kwee 2 2
S003 Rain 3 2


Thank for helping...arigatou gozaimasu!!!


AnswerRe: HELP...SQL problem Pin
andyharman5-Jun-07 23:14
professionalandyharman5-Jun-07 23:14 
Questionconvert varchar to date Pin
rkherath5-Jun-07 17:32
rkherath5-Jun-07 17:32 
AnswerRe: convert varchar to date Pin
Krish - KP5-Jun-07 17:40
Krish - KP5-Jun-07 17:40 
GeneralRe: convert varchar to date Pin
rkherath5-Jun-07 18:55
rkherath5-Jun-07 18:55 
QuestionSSRS;Minus Sign Pin
Amit Kumar G5-Jun-07 16:34
Amit Kumar G5-Jun-07 16:34 
QuestionCalling Ref Cursors in Data Access application blocks Pin
kjosh5-Jun-07 16:21
kjosh5-Jun-07 16:21 
QuestionSSIS: Changing app.config settings for a custom dll called from the script task PinPopular
fodonnel5-Jun-07 13:46
fodonnel5-Jun-07 13:46 
QuestionHow to run a stored procedure from within a stored procedure Pin
AndyDev5-Jun-07 13:41
AndyDev5-Jun-07 13:41 
AnswerRe: How to run a stored procedure from within a stored procedure Pin
Krish - KP5-Jun-07 17:52
Krish - KP5-Jun-07 17:52 
GeneralRe: How to run a stored procedure from within a stored procedure Pin
AndyDev5-Jun-07 18:04
AndyDev5-Jun-07 18:04 
GeneralRe: How to run a stored procedure from within a stored procedure Pin
Krish - KP6-Jun-07 1:37
Krish - KP6-Jun-07 1:37 
QuestionSQL problem Pin
kozu5-Jun-07 12:35
kozu5-Jun-07 12:35 
AnswerRe: SQL problem Pin
andyharman5-Jun-07 23:19
professionalandyharman5-Jun-07 23:19 
GeneralRe: SQL problem Pin
kozu6-Jun-07 5:04
kozu6-Jun-07 5:04 
QuestionExporting ERD from Visio 2007 Enterprise Architect to SQL Server 2005 Pin
salman_syed_015-Jun-07 6:10
salman_syed_015-Jun-07 6:10 
QuestionSQL Case problem Pin
si_695-Jun-07 4:19
si_695-Jun-07 4:19 
AnswerRe: SQL Case problem Pin
si_695-Jun-07 4:36
si_695-Jun-07 4:36 

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.