阅读背景:

mysql 查询一个表中有的记录且在另一个表中无相关的记录sql

来源:互联网 

1、

SELECT
	*
FROM
	table1
WHERE
	xxx
and fieldsname not in (
	SELECT fieldsname from table2 where xxxx)
);
SELECT
	*
FROM
	table1
WHERE
	xxx
and f



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: