Hello all, I was wondering how do to something. I have a table that I need to do some kind of sub query. I am learning so this query eill teach me a lot. I have 2 columns One is the ID and the other is Num. I need to search for all Nums that have a "0" in it and get the ID of that row. I then need to search in the column "Num" and get match the row id. I think this would be an embedded search (something like that).
Here is my columns.
I will attempt the query string:
Something like that. I want to learn how to do this kind of search.
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!
Here is my columns.
Code:
ID Num
2 0
3 2
4 2
Code:
select Num from table where Num = (select ID from Num where Num = 0 )
Thanks,
timgerr
-How important does a person have to be before they are considered assassinated instead of just murdered?
Congratulations!