/ Published in: MySQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysql -u root -D "listento_calculate" -e "SELECT DISTINCT email,date_format(insertDate,'%d/%m/%Y') from users WHERE email like '%@%' into outfile 'users20110228_1.csv'"