Answer Posted / Sarvesh Kumar
In Magento, you can execute custom SQL queries using the `Mage_Core_Model_Resource_Db_Abstract` class. To do this, first extend a resource model for your entity and override the _construct() method to set up your connection. Then, create a method that executes your custom query.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers