Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About SQL select command?
Message
From
09/03/1998 06:11:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
About SQL select command?
Miscellaneous
Thread ID:
00083318
Message ID:
00083318
Views:
59
I made two tables,
one is for saving member's information such as member_id,name,address,email..etc.
And the other is for saving messages from the members (fields are such as member_id,subject,date,message..etc).
How do I implement SELECT SQL command which will extract the name,address,email according to subject,message,date from the two tables?

Ex)

Table A Table B

member_id name email ... member_id subject message ...
001 bill bill@test.com 001 sky memo1
002 ted ted@ms.com 002 stereo memo2
003 john john@yahoo.com 002 mono memo3
004 merry merry@net.com 003 mouse memo4
. . . . . .
. . . . . .
. . . . . .


Sql result

sky memo1 bill bill@test.com
stereo memo2 ted ted@ms.com
mono memo3 ted ted@ms.com
mouse memo4 john john@yahoo.com
. . . .
. . . .
If you have a chance to visit Korea, Be my Guest.
rexall
Next
Reply
Map
View

Click here to load this message in the networking platform