<gh_stars>0
import mysql.connector

mydb = mysql.connector.connect(
host = 'localhost',
user = 'root',
password = '<PASSWORD>',
database = 'akshay'
)

mycursor = mydb.cursor()

mycursor.execute("DELETE FROM login WHERE address LIKE '%ase%'")
myresult = mycursor.fetchall()
print (myresult)

import mysql.connector

mydb = mysql.connector.connect(
host = 'localhost',
user = 'root',
password = '<PASSWORD>',
database = 'akshay'
)

mycursor = mydb.cursor()

mycursor.execute("DELETE FROM login WHERE address LIKE '%ase%'")
myresult = mycursor.fetchall()
print (myresult)