반응형

 

 

mysql -uuser_id -ppasswd db_name -e "select domain, year, month, sum(total_cnt) from tb_counter

where year = '2015' and month = '07' group by domain, year, month" -t > result.txt

 

반응형