If you want to see the query use the following code for example:
Magento Query:
$collection = Mage::getModel('banner/banner')->getCollection();
echo $collection->getSelect()->__toString();
Result For Example:
SELECT `main_table`.* FROM `banner` AS `main_table`
0 Comments