Is there any way to write ivr for the following statement with codeigniter
SELECT customer_id, last_name, first_name
FROM customers
WHERE (last_name = 'Johnson'
OR (last_name = 'Anderson' AND state = 'California')
OR (last_name = 'Smith' AND status = 'Active' AND state = 'Florida');
Coule someone please help me on it ?