How to create button delete all rows at once

How to create button delete all rows at once
I want clear data in table by button in once click.

Create a Multiple Relation or Query column that matches all rows in the table, and use a Delete Row action via that relation/query.

I,m beginer. How to Create a Multiple Relation or Query column

I have more questions.

I have table ‘data’ in table has 2 column is name , number and I have form element.
When I input name = ‘mom’ number = ‘1,2,3’
I want split and loop insert table

name = ‘mom’
number = ‘1’

name = ‘mom’
number = ‘2’

name = ‘mom’
number = ‘3’

Can I do it?

I saw that you asked that question in another thread. It’s possible, but complicated. I don’t have time to provide an answer right now. Somebody else might help.