I have two tables:
A:
[ date,
step,
status,
... ]
B:
[ date,
step,
name,
... ]
I want to get result in form of
[date, step, name]
based on status parameter. I can easly get data from table A using following query:
Select date, step From A Where status='1'
and the result would be like:
1. 2010-09-12; 5
2. 2010-09-13; 3
...
but i dont know how to use it to find names from table B corresponding to those records.
Thanks for any help.