分享一个大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到人工智能的队伍中来!点击浏览教程
select rcr.* from raw_credit_request as rcr where rcr.client_order_id not in
(select co.client_order_id from credit_order as co);
select rcr.* from raw_credit_request as rcr where not exists (select 1 from credit_order
as co where co.client_order_id = rcr.client_order_id);
select rcr.* from raw_credit_request as rcr left join credit_order as co on
(co.client_order_id = rcr.client_order_id) where co.client_order_id is null;
方案一、
select A.* from raw_credit_request as A where A.client_order_id not in (select B.client_order_id from credit_order as B);
方案二、select A.* from raw_credit_request as A where not exists (select 1 from credit_order as B where B.client_order_id = A.client_order_id);
方案三、select A.* from raw_credit_request as A left join credit_order as B on (B.client_order_id = A.client_order_id) where B.client_order_id is null;