Get started • Data Lake

Replace all rows

Remove every row in a table and put in the new rows instead.

Try this

  • Replace all rows in samples.orders_practice with these two: 1, Ann, 25. 2, Bo, 40. Show me the preview first.

Your assistant may word its answers differently each time; the numbers come from your tables.

Throw out the old list, write a new one

What is it?

Replacing is like rubbing out a whole whiteboard and writing it again.

How does it work?

Every old row goes away and your new rows take their place. You see a preview first.

Good to know

Everything that was there is gone, not only the rows you mention. You can undo it.

Before you start

Make the practice table first, on the 'Create a table' page. That way your samples stay safe.

Make it yours

Your assistant needs the real names. Replace the table and column names in the prompt above with yours. If you are not sure of them, ask first: "Describe my table called orders."

Then ask

Each question builds on the last answer. Ask follow-ups in plain words.

"That looks right. Apply it."

"Undo my last change to samples.orders_practice."