mysql dump table to sql using mysql code example
Example 1: database dump mysql command
mysql -u username -p dbname < filename.sql
Example 2: mysql dump with table query
mysqldump db_name table_name --where="id > 1"
mysql -u username -p dbname < filename.sql
mysqldump db_name table_name --where="id > 1"