1
我要像SQL執行CloudKit數據庫查詢:CloudKit - 如何執行不存在查詢?
SELECT *
FROM table1 t1
WHERE NOT EXISTS
(SELECT *
FROM table2 t2
WHERE t1.userid = t2.userid)
你知道該怎麼做?
我要像SQL執行CloudKit數據庫查詢:CloudKit - 如何執行不存在查詢?
SELECT *
FROM table1 t1
WHERE NOT EXISTS
(SELECT *
FROM table2 t2
WHERE t1.userid = t2.userid)
你知道該怎麼做?
嘗試 SELECT * FROM 表1 T1 WHERE t1.userid NOT IN(SELECT t2.userid FROM表2 T2);
或
SELECT t1.userid FROM表1 T1 MINUS SELECT t2.userid FROM表2 T2;
謝謝,但在CloudKit中這是不可能的。我想找到一種方式,儘管它仍然可以完成... – XHotSniperX