1、unknow column 'xxx' in 'where clause';
解决办法:在sql语句中,sql = "select data from database where test='xxx'",字符串类型的数据xxx需要加上单引号。
1、unknow column 'xxx' in 'where clause';
解决办法:在sql语句中,sql = "select data from database where test='xxx'",字符串类型的数据xxx需要加上单引号。