mysql dump data select code example
Example 1: mysql dump with table query
mysqldump db_name table_name --where="id > 1"
Example 2: mysql dump for selected row
mysqldump -u username -ppassword database_name table_name --where="date_created='2013-06-25'" > few_rows_dump.sql