Click here to Skip to main content
15,895,557 members
Home / Discussions / Database
   

Database

 
AnswerRe: Retrive data from Access table Pin
Eddy Vluggen15-Nov-10 4:45
professionalEddy Vluggen15-Nov-10 4:45 
AnswerRe: Retrive data from Access table Pin
Blue_Boy15-Nov-10 9:51
Blue_Boy15-Nov-10 9:51 
GeneralRe: Retrive data from Access table Pin
jschell16-Nov-10 9:00
jschell16-Nov-10 9:00 
GeneralRe: Retrive data from Access table Pin
Eddy Vluggen16-Nov-10 9:15
professionalEddy Vluggen16-Nov-10 9:15 
QuestionAdding mysql data to postgresql Pin
franrtorres7714-Nov-10 1:51
franrtorres7714-Nov-10 1:51 
AnswerRe: Adding mysql data to postgresql Pin
Eddy Vluggen16-Nov-10 0:11
professionalEddy Vluggen16-Nov-10 0:11 
AnswerRe: Adding mysql data to postgresql Pin
RaviRanjanKr17-Dec-10 18:36
professionalRaviRanjanKr17-Dec-10 18:36 
QuestionMySQL Select help required Pin
djhankypark12-Nov-10 12:11
djhankypark12-Nov-10 12:11 
Could someone pont me in the right direction here cos I am pulling my hair out and I have little to start with lol

I am working with 3 tables

User Table:
Auto_ID
User_Name

Profile Table:
Auto_ID
User_ID (This is taken from the Auto_ID in the User Table e.g. 20)
Prof_Img

Comments Table:
Auto_ID
Message_To (This is taken from the Auto_ID in the User Table e.g. 41)
Message_From (This is taken from the Auto_ID in the User Table e.g. 20)
Message

I need to be able to display the Prof_Img for who the message was _to and _from I just can't figure how to get the individual picture references from the same table in the same query. I can get one of the pictures but not both, am probably not thinking about it correctly, well obviously I am or it would work lol

Oh and I need the User_Name to go with each relevant picture

If someone could give me a little guidance please it would save my hair line lol

Many thanks in advance

Regards

Ray
AnswerRe: MySQL Select help required Pin
Luc Pattyn12-Nov-10 12:55
sitebuilderLuc Pattyn12-Nov-10 12:55 
GeneralRe: MySQL Select help required Pin
djhankypark23-Nov-10 7:29
djhankypark23-Nov-10 7:29 
GeneralRe: MySQL Select help required Pin
Luc Pattyn23-Nov-10 7:43
sitebuilderLuc Pattyn23-Nov-10 7:43 
QuestionTimeourt Pin
logicon12-Nov-10 1:00
logicon12-Nov-10 1:00 
AnswerRe: Timeourt Pin
Goutam Patra12-Nov-10 1:44
professionalGoutam Patra12-Nov-10 1:44 
AnswerRe: Timeourt Pin
Luc Pattyn12-Nov-10 2:24
sitebuilderLuc Pattyn12-Nov-10 2:24 
GeneralUse a where clause Pin
David Mujica12-Nov-10 3:08
David Mujica12-Nov-10 3:08 
GeneralRe: Use a where clause Pin
Luc Pattyn12-Nov-10 3:10
sitebuilderLuc Pattyn12-Nov-10 3:10 
GeneralOops, my bad Pin
David Mujica12-Nov-10 5:32
David Mujica12-Nov-10 5:32 
GeneralRe: Use a where clause Pin
logicon12-Nov-10 9:03
logicon12-Nov-10 9:03 
GeneralRe: Use a where clause Pin
PIEBALDconsult12-Nov-10 9:36
mvePIEBALDconsult12-Nov-10 9:36 
GeneralRe: Use a where clause Pin
Mycroft Holmes12-Nov-10 10:58
professionalMycroft Holmes12-Nov-10 10:58 
GeneralRe: Use a where clause Pin
PIEBALDconsult12-Nov-10 15:23
mvePIEBALDconsult12-Nov-10 15:23 
AnswerRe: Timeourt Pin
thatraja12-Nov-10 2:47
professionalthatraja12-Nov-10 2:47 
AnswerRe: Timeourt Pin
jschell16-Nov-10 9:03
jschell16-Nov-10 9:03 
QuestionCreate table from xml file Pin
Hum Dum11-Nov-10 22:07
Hum Dum11-Nov-10 22:07 
AnswerRe: Create table from xml file Pin
Eddy Vluggen13-Nov-10 9:18
professionalEddy Vluggen13-Nov-10 9:18 

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.