Thats correct marto. This thread helped me to write the code in a better and correct manner which constituted my SO thread. But even after doing that, I did not get the intended result. Later it turned out that SQ::Statement was not properly installed. I want to thank you guys for your time and the guidance.
in reply to Re^3: DBD::CSV - SQL Syntax - "AND" clause is not working properly
in thread DBD::CSV - SQL Syntax - "AND" clause is not working properly