Click here to Skip to main content
15,887,421 members
Home / Discussions / Database
   

Database

 
AnswerRe: sql back up advise Pin
Scott Serl9-Nov-05 6:14
Scott Serl9-Nov-05 6:14 
QuestionSQL & NaN's Pin
Gilad Kapelushnik8-Nov-05 2:52
Gilad Kapelushnik8-Nov-05 2:52 
QuestionReading records in Chunk Urgent Pin
behi20007-Nov-05 15:52
behi20007-Nov-05 15:52 
QuestionA couple of beginner questions Pin
matthias s.7-Nov-05 3:04
matthias s.7-Nov-05 3:04 
AnswerRe: A couple of beginner questions Pin
Daniel Santillanes8-Nov-05 13:16
professionalDaniel Santillanes8-Nov-05 13:16 
Questionhow can i connect MsAccess Pin
sheerprogrammer6-Nov-05 21:17
sheerprogrammer6-Nov-05 21:17 
Questionfull-text search help Pin
rockmouse6-Nov-05 17:27
rockmouse6-Nov-05 17:27 
QuestionHow to transform 3 Tables?? Pin
tbrake6-Nov-05 0:03
tbrake6-Nov-05 0:03 
Hallo

I have 3 Tables

<br />
1st table with idfrist  - descriptionfirst<br />
2nd table with idsecond - descriptionfirst<br />
3rd table with id - idfirst - idsecond - value<br />


Now i'd like to built a transformed tabel:
colheader with all items from idfirst
rowheader with all item from idsecond
values as sum from 3rd tables value (cols are( tofirst - tosecond - value)

The transformation works fine for all values entered.
But if one col from the colheader isn't used in the 3rd table,
there is no output column for this field defined in the first table ?!?

here si what is already have done with 2 tables
<br />
TRANSFORM Sum(third.value) three<br />
SELECT second.tofirst<br />
FROM third RIGHT JOIN second ON third.idsecond = second.tosecond<br />
WHERE (((third.tofirst) Like "*"))<br />
GROUP BY third.tofirst<br />
PIVOT second.idsecond;<br />

thx for helping
Tim
QuestionTrain free @Microsoft Pin
vikas amin4-Nov-05 23:35
vikas amin4-Nov-05 23:35 
AnswerGet a life Pin
Rob Graham5-Nov-05 15:38
Rob Graham5-Nov-05 15:38 
GeneralRe: Get a life Pin
toxcct6-Nov-05 0:36
toxcct6-Nov-05 0:36 
Questionmetadata Pin
kittubond_0094-Nov-05 21:25
kittubond_0094-Nov-05 21:25 
AnswerRe: metadata Pin
André Ziegler4-Nov-05 23:53
André Ziegler4-Nov-05 23:53 
GeneralRe: metadata Pin
kittubond_0095-Nov-05 15:33
kittubond_0095-Nov-05 15:33 
QuestionSql Connection Pin
NormBohana4-Nov-05 14:04
NormBohana4-Nov-05 14:04 
AnswerRe: Sql Connection Pin
Rob Graham4-Nov-05 14:56
Rob Graham4-Nov-05 14:56 
GeneralRe: Sql Connection Pin
NormBohana4-Nov-05 15:03
NormBohana4-Nov-05 15:03 
Questionaccess to MSsql pubs data from vc6.0 Pin
markoot4-Nov-05 8:31
markoot4-Nov-05 8:31 
AnswerRe: access to MSsql pubs data from vc6.0 Pin
markoot4-Nov-05 10:55
markoot4-Nov-05 10:55 
Questionsp procedure Help!!! Pin
Petdav4-Nov-05 4:24
Petdav4-Nov-05 4:24 
AnswerRe: sp procedure Help!!! Pin
Rob Graham4-Nov-05 15:10
Rob Graham4-Nov-05 15:10 
Questionsp Help!!! Pin
Petdav4-Nov-05 4:20
Petdav4-Nov-05 4:20 
QuestionHow to modify a table Without dropping Pin
SIJUTHOMASP4-Nov-05 0:42
professionalSIJUTHOMASP4-Nov-05 0:42 
AnswerRe: How to modify a table Without dropping Pin
Colin Angus Mackay4-Nov-05 1:04
Colin Angus Mackay4-Nov-05 1:04 
AnswerRe: How to modify a table Without dropping Pin
Daniel Santillanes8-Nov-05 13:35
professionalDaniel Santillanes8-Nov-05 13:35 

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.