mysql export quer table code example Example: mysql dump with table query mysqldump db_name table_name --where="id > 1"