I have a mysql table say test and I want to create a importable .sql file for rows where id is between 10 and 100 using php script.
I want to create a sql file say t
Mysql Shell command
mysqldump -u user -p password -h host Database Table --where="Condition"> /path/exportFile.sql
Example
mysqldump -u user -p 123456 -h host Database Student --where="age > 10"> /path/exportFile.sql