mysqldump -uroot -p db_name table_name --where='id<1000000'
oppure puoi usare
SELECT * INTO OUTFILE 'data_path.sql' from table where id<100000
mysqldump -uroot -p db_name table_name --where='id<1000000'
oppure puoi usare
SELECT * INTO OUTFILE 'data_path.sql' from table where id<100000