我已经创建了表雇员,我想在这个表中插入数据我正在写一个简单的查询
client.query('INSERT INTO employees (id,firstName, lastName, fullName, managerId, managerName, title, department, cellPhone, officePhone, email, city, pic, twitterId, blog) VALUES (1,"amina", "yousuf", "aminayousuf",1,,"",,"ceo","df","4334","455","dfsfsdf","dsfsf","fdfdsf", "fsdf" ,"sdf")', function(err,data){
if(err){
console.log(" not inserted") ;
}
else{
console.log("insert");
}
client.end();
它显示的输出未插入
我创建了一个员工表
client.query('CREATE TABLE employees ' +
'(id INT(11),' +
' firstName VARCHAR(255), ' +
' lastName VARCHAR(255), '+
' fullName VARCHAR(255),' +
'managerId INT(11),'+
'managerName VARCHAR(255),'+
'title VARCHAR(255),'+
'department VARCHAR(255),'+
'cellPhone VARCHAR(255),' +
'officePhone VARCHAR(255),' +
'email VARCHAR(255),' +
'city VARCHAR(255),'+
'pic BLOB ,' +
'twitterId VARCHAR(255),' +
'blog VARCHAR(255))'
);
写查询有什么问题吗?