it does not work again, i knew may be am using wrong parameter. any help please
rs = con.query("SELECT * from product where price = '200')
this works but when used parameter %s in the where clause as showed below, it stop working
rs = connection.query("SELECT * from product where price = '%s')
Okay in Python, i have achieved it this way
rs = "SELECT * FROM product where price='%s'" % (price)
thanks


Sign In
Create Account


Back to top









