📜  sqlite3 python参数化查询 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:36.540000             🧑  作者: Mango

代码示例1
sql = "select exists(SELECT * from USERS where PASSWORD = ? AND USERNAME = ?)"
args = (var1,var2)
cursor = database_connection.execute(sql, args)