How to run custom query in Magento?
0
- $db = Mage::getSingleton('core/resource')->getConnection('core_write');
- $result=$db->query('SELECT * FROM users where id=4');
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.