在select命令中,where where子句缩进错误

时间:2017-12-08 10:28:27

标签: python select sqlite where-clause

cur.execute("SELECT name FROM developers_info WHERE field = 'runtime' AND experience = 3 ")
  data2 = cur.fetchall()
  

文件“project_part2.py”,第55行cur.execute(“SELECT name FROM> developers_info WHERE field ='runtime'AND experience = 3”)^

     

IndentationError:预期缩进块

1 个答案:

答案 0 :(得分:0)

此行未正确缩进。 要么没有缩进与前一行相同的级别 要么 上一行有:,此行应进一步缩进。