select name, birthday
from user
where uid in (SELECT uid2 FROM friend WHERE uid1 = me())
and birthday != null;
{
"error": {
"message": "(#602) NULL is not a member of the user table.",
"type": "OAuthException",
"code": 602
}
}
我能以某種方式篩選出空值?
哎呀,我還以爲你的代碼爲SQL。抱歉! –
好吧,你不能,你需要讓你的代碼足夠靈活,以便它檢測到null並且跳過它們 –