Working with Zend DB and frustrated with errors? Here is a tip on how to quickly display the sql querystring. Just add the following after you’ve built you query with Zend_Db_Select or Zend_Db_Table

Zend_Debug::Dump($select->assemble());

Happy Coding!