I have a doubt with the select
statement query with in
operator. That is, if I need to get the multiple po values with according to their due nos. If I do this,
select * from table1 where pono in('82200388180','82200388179') and dueno in('001','004')
then it works. But I need to clarify with you about one point. assume if i giving like this,
select * from table1 where pono in('82200388180','82200388179') and dueno ('001','004')
(One PO can have Multiple Due Nos. Nothing is unique)
how it works? whether 1. it returns the row where due no 001 available or 2.it returns the row corresponding to the pono=82200388180 with the dueno=001.
i need to get the answer like option 2. please guide me
Thanks in advance.