pymysql.err.InternalError: (1054, "Unknown column 'user' in 'where clause'") problems and solutions
Code issues
sql = "select * from user where name =% s"% a
the% s it quotes
name='nhy'
sql="select * from user where name='%s'"%name
pymysql.err.InternalError: (1054, "Unknown column 'user' in 'where clause'") problems and solutions
Code issues
sql = "select * from user where name =% s"% a
the% s it quotes
name='nhy'
sql="select * from user where name='%s'"%name