57,062
社区成员
发帖
与我相关
我的任务
分享select r.gid from exchange_record r join channel c on r.channel_gid=c.gid where r.st=1 and c.src=2 limit 0, 20000select r.gid from channel c join exchange_record r on r.channel_gid=c.gid where r.st=1 and c.src=2 limit 0, 20000SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '2974a96...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '5acd4db...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '5fff5482-...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '61a00107...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '69d80226...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '6e809973...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '7300dbd5...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '77e8be0a...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '79e73120...'
UNION
SELECT r.gid from exchange_record r where r.st=1 and r.channel_gid = '7eeb2d21...' LIMIT 0,20000


select r.gid from exchange_record r where
exists(select * from channel c where r.channel_gid=c.gid )
r.st=1 and c.src=2 limit 0, 20000
