Click here to Skip to main content
15,917,005 members
Home / Discussions / Database
   

Database

 
GeneralRe: Create a Database Softwre Pin
Hesham Amin6-Apr-04 21:35
Hesham Amin6-Apr-04 21:35 
GeneralDAO Access and system.mdw Pin
cr976-Apr-04 3:56
cr976-Apr-04 3:56 
GeneralRe: DAO Access and system.mdw Pin
Mike Ellison6-Apr-04 5:45
Mike Ellison6-Apr-04 5:45 
GeneralRe: DAO Access and system.mdw Pin
cr976-Apr-04 21:47
cr976-Apr-04 21:47 
GeneralRe: DAO Access and system.mdw Pin
Mike Ellison7-Apr-04 5:28
Mike Ellison7-Apr-04 5:28 
GeneralRe: DAO Access and system.mdw Pin
cr977-Apr-04 21:15
cr977-Apr-04 21:15 
GeneralMultiple table select queries in mySQL Pin
docdeath6-Apr-04 2:38
docdeath6-Apr-04 2:38 
QuestionHow to join on multiple records? Pin
matthias s.6-Apr-04 1:27
matthias s.6-Apr-04 1:27 
Hello,

I've got a table called samples. This table has three fields called PicID1, PicID2 and PicID3 for simplicity. My second table is called Pics. Pics has an ID field (key) and a PicName field. The select query I'd like to write selects all records from the Samples table and the PicName value for each of the PicIDs (1,2 and 3):

[Samples]
ID|PicID1|PicID2|PicID3
1|345|664|733

[Pics]
ID|PicName
..
345|Himalaya
664|Sahara
733|New York

The result should return a recordset containing all records from the samples table and "instead of the numeric PicID*" the Pics.PicName.

Can this be done in one query? If so, how?

Thanks in advance,

Matthias


If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)

www.emvoid.de

AnswerRe: How to join on multiple records? Pin
Mike Dimmick6-Apr-04 1:42
Mike Dimmick6-Apr-04 1:42 
GeneralRe: How to join on multiple records? Pin
matthias s.6-Apr-04 2:05
matthias s.6-Apr-04 2:05 
AnswerRe: How to join on multiple records? Pin
Hesham Amin6-Apr-04 1:49
Hesham Amin6-Apr-04 1:49 
GeneralRe: How to join on multiple records? Pin
matthias s.6-Apr-04 2:07
matthias s.6-Apr-04 2:07 
GeneralSQL Server Procedure Output Pin
SamAmman5-Apr-04 23:06
SamAmman5-Apr-04 23:06 
GeneralRe: SQL Server Procedure Output Pin
Mike Dimmick6-Apr-04 1:26
Mike Dimmick6-Apr-04 1:26 
GeneralFile space used in SQL2000 Pin
Hesham Amin5-Apr-04 1:34
Hesham Amin5-Apr-04 1:34 
GeneralRe: File space used in SQL2000 Pin
Mazdak5-Apr-04 21:20
Mazdak5-Apr-04 21:20 
GeneralRe: File space used in SQL2000 Pin
Hesham Amin5-Apr-04 22:12
Hesham Amin5-Apr-04 22:12 
GeneralRe: File space used in SQL2000 Pin
Mike Dimmick6-Apr-04 1:35
Mike Dimmick6-Apr-04 1:35 
GeneralReducing the size of the database files Pin
Colin Angus Mackay4-Apr-04 23:26
Colin Angus Mackay4-Apr-04 23:26 
GeneralRe: Reducing the size of the database files Pin
Mike Dimmick5-Apr-04 1:02
Mike Dimmick5-Apr-04 1:02 
GeneralRe: Reducing the size of the database files Pin
Colin Angus Mackay5-Apr-04 23:28
Colin Angus Mackay5-Apr-04 23:28 
GeneralConnecting Oracle 10 g Pin
mhmoud rawas4-Apr-04 23:14
mhmoud rawas4-Apr-04 23:14 
GeneralJOIN datatables Pin
vbtoosharp4-Apr-04 15:53
vbtoosharp4-Apr-04 15:53 
GeneralRe: JOIN datatables Pin
Mazdak5-Apr-04 0:01
Mazdak5-Apr-04 0:01 
GeneralAuto Updating Column Pin
monrobot134-Apr-04 14:19
monrobot134-Apr-04 14:19 

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.