Array
(
[0] => Array
(
[date] => 15.08.2016
[money_products_client] => 1050
)
[1] => Array
(
[date] => 11.08.2016
[money_products_client] => 5000
)
SELECT sum(money) FROM `accounts` WHERE date >= (CURDATE()-1) AND date < CURDATE() AND type IN (353,448)
UNION ALL
SELECT sum(money) FROM `accounts` WHERE date >= (CURDATE()-1) AND date < CURDATE() AND type IN (458,248)