Hi,
Can anyone tell me, how the below queries will works.
select cname,c1.cid from company1 c1 inner join campany2 c2 inner join
on c1.cid=c2.cid where daterange between '2013-05-01' and '2013-05-10' and c2.uid=1 and c2.cid=2;
select cname,c1.cid from company1 c1 inner join campany2 c2 inner join
on c1.cid=c2.cid where (daterange between '2013-05-01' and '2013-05-10') and c2.uid=1 and c2.cid=2
Thanks,
Benaya Paul
Can anyone tell me, how the below queries will works.
select cname,c1.cid from company1 c1 inner join campany2 c2 inner join
on c1.cid=c2.cid where daterange between '2013-05-01' and '2013-05-10' and c2.uid=1 and c2.cid=2;
select cname,c1.cid from company1 c1 inner join campany2 c2 inner join
on c1.cid=c2.cid where (daterange between '2013-05-01' and '2013-05-10') and c2.uid=1 and c2.cid=2
Thanks,
Benaya Paul