I need to take data from one table then take data from other table and then join the 2 results.
ej..
select f1,f2,f3,f4 from t1 where f1<= date and f2 > date
select f1,f2,f3,f4 from t2 where f1<= date and f2 > date
select a.*,b.* from t1 a
left join t2 b
on a.f3 = b.f3
where b.f3 is null
Its is posible to do that in one query I need for reporting services matters.
ej..
select f1,f2,f3,f4 from t1 where f1<= date and f2 > date
select f1,f2,f3,f4 from t2 where f1<= date and f2 > date
select a.*,b.* from t1 a
left join t2 b
on a.f3 = b.f3
where b.f3 is null
Its is posible to do that in one query I need for reporting services matters.