0

我的代码是

mDB.query(DATABASE_TABLE, new String[] {KEY_ID, KEY_Name + KEY_Familyname + " as " + KEY_Fullname}, null, null, null, null, null);

所以这不是

Error: "KEY_Name + KEY_Familyname + " as " + KEY_Fullname" ????
4

1 回答 1

1

使用||运算符连接字符串

select KEY_Name || KEY_Familyname as KEY_Fullname
于 2012-04-07T03:44:27.490 回答