Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi Guys ! I don't really know w

Status
Not open for further replies.

funyman

Programmer
Sep 20, 2000
13
CA
Hi Guys !

I don't really know where to post my question both since I'm developing in Java......
I have DB Access using (for now) Microsoft Access in my Java application... connection and that are fine my problem is to retreive the info on a relationship table. can you give me a SQL queries sample

let say I have Table 1 with colum first as primary key and linked to table 2 having column second. How can I make a queries that will collect value from Column first and second in one call?

Thanks for the help ... and please if you think I'm really not it the right forum let me know where to go !
Thanks
 

select table2.column2,... from table1, table2
where table1.column1 = table2.column1
and...
 
Thank youuu !

I knew it was something easy !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top