I want to remove the old datas from my magento2 system , need to remove data like orders and invoice with the increment id , it means new order or invoice data should be the first one . Please let me know if you have found any clue to solve this.
If you are looking for remove the sample data. then you can use following command.
you can remove sample data by running this command.