python mysql 操作查询提示not enough arguments for format string
代码:
sql_insert ="""select * from sj where expect >= %s and expect <= %s;"""
cur.execute(sql_insert,(90))
这是为什么
python mysql 操作查询提示not enough arguments for format string
代码:
sql_insert ="""select * from sj where expect >= %s and expect <= %s;"""
cur.execute(sql_insert,(90))
这是为什么
2 回答5.1k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
4 回答1.4k 阅读✓ 已解决
3 回答1.3k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
1 回答1.7k 阅读✓ 已解决
1 回答1.2k 阅读✓ 已解决
(90,90)