| | |
..joining 2 tables?=A tuf one....can U crack this ?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2006
Posts: 5
Reputation:
Solved Threads: 0
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.
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.
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??
* will selct all fields, if you want certain fields, do TABLE1.col1, TABLE2.col2
Does this Help??
Gabriel Villa
software development/ IT support consultant
software development/ IT support consultant
![]() |
Similar Threads
- Repeated Row In Record Sets (MS SQL)
- Joining 4 or more tables (MySQL)
- dataabse connectin string problem? (MySQL)
- Need Help Joining 3 tables (MySQL)
- PHP newbie, project feasibility (PHP)
- updating 2 HTML tables on one PHP page (PHP)
Other Threads in the VB.NET Forum
- Previous Thread: How do I store Unique Values to More than One Same Names in Database using VB.NET
- Next Thread: Infinite closing loop... HELP!
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel exists fade filter forms ftp generatetags html images input insert intel internet listview mobile module monitor net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown soap socket sqldatbase sqlserver survey temperature textbox timer timespan transparency trim txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





