I have a question about my code.
SELECT DATE(date_time) dates, SUM(duration/60), customer, provider
FROM cdr_sbc_2017 WHERE
DATE_FORMAT(CONVERT_TZ(disconnect_time,'+07:00','+07:00'),'%Y-%m') =
'2017-09' AND lower(customer) LIKE "%ota%" OR LOWER(customer) LIKE "%alkaip%" OR LOWER(customer) LIKE "%alve%" OR LOWER(customer) LIKE "%antako%"
GROUP BY customer;
I tried like that, but I can't show them all like I want. Can you help me with condition that I used so I can show the customer the name that I want?
thanks.