AnsweredAssumed Answered

Create custom SQL query

Question asked by Agas Maha Astra on Mar 11, 2015
Latest reply on Mar 12, 2015 by Agas Maha Astra
Hello,
im very new in here so i want to know how the safe steps to create a sql query
for example i want to create 

SELECT SUM(some_field) FROM accounts_cstm WHERE condition='active'

should i create a new file.php for the process function and view function and the modify logic hooks too?

because i want to create it in the listview of Accounts module

Thankyou

Outcomes