I have database with many tables. From that I want to export a table with only selected fields. For instance table has 52 fields. Out of that I only require only few fields.
I am using following syntax but not working after upgrade of my Ubuntu.
mysqldump -u user -p db table --where="SELECT name, dob FROM table" > ab.sql
What is the proper way to mysqldump selected fields of table?