Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的代码是
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" ????
使用||运算符连接字符串
||
select KEY_Name || KEY_Familyname as KEY_Fullname