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))
这是为什么
4 回答4.4k 阅读✓ 已解决
1 回答3.1k 阅读✓ 已解决
4 回答3.8k 阅读✓ 已解决
3 回答2.1k 阅读✓ 已解决
1 回答4.4k 阅读✓ 已解决
1 回答3.9k 阅读✓ 已解决
1 回答2.8k 阅读✓ 已解决
(90,90)