SQL CRUD basics in 5 mins

Learn SQL CRUD basics and Here’s a fast overview of how to utilize them in 5 minutes.

DELETE

To delete data from a table, you can use the DELETE statement. You need to specify the name of the table and a WHERE clause to determine which rows you want to delete. For example, this code deletes all rows from the customer’s table where the name column is equal to ‘Alice’.

SQL
SQL
SQL
DELETE FROM customers
WHERE name = 'Alice';

1 row affected. (Query took 0.0018 seconds.)
DELETE FROM customers WHERE name = ‘Alice’;

Pages: 1 2 3 4 5

How useful was this post?

Click on a star to rate it!

Instagram
WhatsApp
error: Content is protected !!