dump mysql table to sql file code example
Example 1: mysql dump with table query
mysqldump db_name table_name --where="id > 1"
Example 2: export mysql table to file
mysqldump db_name tbl_name;
mysqldump db_name table_name --where="id > 1"
mysqldump db_name tbl_name;