Possible Duplicate:
mysql dump to localhost outfile from a remote database
I have a mysql table with email as a field. I want to get all those email to a CSV file so that i can use the emails for newsletter purpose.
I tried the export option in MySQL but i couldn't figure out how to select just one field from the whole table.
Can anyone help me how to do this? I guess it's a simple trick but i guess i am too beginner for this as well!