Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

how queries will work

$
0
0
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

Viewing all articles
Browse latest Browse all 13329

Trending Articles