Mysqldump backup includes table structure and table data. Can I import only table data or table structure?

  mysql, question

Export only oneTestWith this command:

mysqldump -u$USER -p$PASSWD --databases test > /tmp/backup.sql

Then I brain hole opened wide and asked if mysql has this function. Importing can only import table structure or table data (here the new table and the old table assume the same structure)?

1. Ask if there is any official simple method to realize it.
2. Complex method. I think whether sed or awk can be used to separate the definition statement of table structure and the insertion statement of table data.

I didn’t look at the parameters carefully.
mysqldump -t no table
-d no data