954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

..joining 2 tables?=A tuf one....can U crack this ?

Listen, I 've 2 tables of the following nature :

Table 1
---------

col1 | col2 | col3 |
--------------------------------------------------------
1 name1 xxxxxxxxxx
1 name1 ssssssssssss
1 name1 rrrrrrrrrrrrrr
2 name1 qqqqqqqqqq
2 name1 eeeeeeeeee

and so on........


Table 2
=======

col1 | col2 | col3
------------------------------------------------------
1 name1 1111111111
2 name1 2222222222

Now , I would like to join these 2 tables.....

What kind of a record selection formula do I write ???


Any help.......is welcome.....

Bye.

jaay
Newbie Poster
5 posts since Aug 2006
Reputation Points: 10
Solved Threads: 0
 

SELECT * FROM Table1 INNER JOIN Table2 on TABLE1.col1 = TABLE2.col2

* will selct all fields, if you want certain fields, do TABLE1.col1, TABLE2.col2

Does this Help??

extofer
Posting Whiz in Training
239 posts since Aug 2005
Reputation Points: 8
Solved Threads: 6
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You