Check out example codes for "print zend db select query to string". It will help you in understanding the concepts better.

Code Example 1

echo $select->__toString();

Learn ReactJs, React Native from akashmittal.com