How to run custom query in Magento?

0
  1. $db = Mage::getSingleton('core/resource')->getConnection('core_write');
  2. $result=$db->query('SELECT * FROM users where id=4');
asked Apr 15, 2023 at 01:24
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.