SQL Delete Statement

OBJECTIVE

In this chapter you will learn:

About delete statement
Syntax of delete statement
Example of delete statement

About delete statement

SQL delete statement is used to delete rows of the table. Sometime we found that some data of the records are not in use so we delete them with the help of this statement to release the memory.

 

Syntax of delete statement

delete from table where condition

delete from book where bookname='sql'

SUMMARY

In this chapter you have learned about delete statement in sql. In the next chapter you will learn about SQL Injection.


Leave a Reply

Your email address will not be published. Required fields are marked *