Select * FROM
(Select type from snapshot) AS A where date = CURDATE())
LEFT JOIN
(Select type from register) AS B
ON A.type=B.type
WHERE B.type IS NULL
In Standard SQL Syntax:
Select * FROM
(Select type from snapshot where date = CURDATE())AS A
LEFT JOIN
(Select type from register) AS B
ON A.type=B.type
WHERE B.type IS NULL
2条答案
按热度按时间azpvetkf1#
下面是一个有效查询的示例:
5n0oy7gb2#