Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add this week in Databend 48 #3423

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Add this week in Databend 48 #3423

merged 2 commits into from
Jun 30, 2022

Conversation

PsiACE
Copy link
Contributor

@PsiACE PsiACE commented Jun 30, 2022

ty!


DELETE in Databend

The DELETE statement can delete one or more rows from a table.

Syntax

Databend now supports such syntax:

DELETE FROM table_name
[WHERE search_ condition]

Example

Suppose that the bookstore table currently contains the following data:

bookId bookName
101 After the death of Don Juan
102 Grown ups
103 The long answer
104 Wartime friends
105 Deconstructed

Now let's delete the book with id = 103:

DELETE from bookstore where bookId = 103;

After deletion, the data in the bookstore table is shown as follows:

bookId bookName
101 After the death of Don Juan
102 Grown ups
104 Wartime friends
105 Deconstructed

Learn more:

Copy link
Contributor

@nellshamrell nellshamrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ty!

@nellshamrell nellshamrell merged commit 6350e5f into rust-lang:master Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants