By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

Select row in table with id from another table

P: 1
I would like to select data from a row of a table by using id of another table so that only data correspond to that id to be displayed.
Now how can i perform this?
Jun 8 '11 #1
Share this Question
Share on Google+
1 Reply


yarbrough40
100+
P: 320
Expand|Select|Wrap|Line Numbers
  1.  SELECT ID FROM Table2 
  2. JOIN Table1 on Table1.ID = Table2.ID
  3. WHERE Table1.ID = 1
Jun 8 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.