SELECT * from users where id>0 into outfile '/tmp/info3.csv' fields terminated by ',' enclosed by '"' lines terminated by '\n'\G;