mysqldump -uroot -p db_name table_name --where='id<1000000'
eller du kan bruge
SELECT * INTO OUTFILE 'data_path.sql' from table where id<100000
mysqldump -uroot -p db_name table_name --where='id<1000000'
eller du kan bruge
SELECT * INTO OUTFILE 'data_path.sql' from table where id<100000