ankursaxena
Programmer
Hi! i dont know how intutive was my question, i am not sure how to put it in one line..in any case what i want to do is...select(one col.) a no. of rows from one table depending on a condition and have each of the rows selected run another select on another table. i am also getting confused
anyhow eg being i have a table called
BuddyList:
column username & column buddy
table Status
columns: username, status
so i wanna select buddy from buddylist where some username='something' then according select username from status based on teh buddy selected and show the status..hope this was more clear.
if someone can give me a better way of looking at it or a solution it woul dbe gr8
-Ankur
plz email me at ankur.saxena@motorola.com
anyhow eg being i have a table called
BuddyList:
column username & column buddy
table Status
columns: username, status
so i wanna select buddy from buddylist where some username='something' then according select username from status based on teh buddy selected and show the status..hope this was more clear.
if someone can give me a better way of looking at it or a solution it woul dbe gr8
-Ankur
plz email me at ankur.saxena@motorola.com