select sum(amount),sum(card_number) from sy_user inner join sy_admin on sy_user.customer_id=sy_admin.admin_id inner join sy_user_charge_log on sy_user.username=sy_user_charge_log.username where status = 1 and customer_id = 2;
select sum(amount),sum(card_number) from sy_user inner join sy_admin on sy_user.customer_id=sy_admin.admin_id inner join sy_user_charge_log on sy_user.username=sy_user_charge_log.username where status = 1 and customer_id = 2;