Delete Query In MYSQL Using Between Clause

To delete a particular row from table  here is MySQL query to delete with INT , String valuse and using between clasue in MYSQL.

Syntax
Use sql syntax delete command to delete data from MySQL table

delete from login where id = 1



Delete data from table using between clause

Syntax

delete from login where id between 3 and 5;


Delete data from table using string value in where clause,

Syntax

use single quote for any string values you can see the example

delete from login where userid= 'admin';



Comments

Popular posts from this blog

Disable right click, Inspect Element and page source using JavaScript in Html and asp.net

Like Operator In Sql Server