我喜欢获取尚未包含在Customer_Machine表中的序列号。但相反,这些行是交叉相乘。这是我的代码。交叉倍增查询
SELECT serial_number.serial_no
FROM product
INNER JOIN serial_number
ON product.productid = serial_number.productid
INNER JOIN customer_machine
ON NOT(customer_machine.serial_no = serial_number.serial_no)
任何帮助吗?
一些示例数据,所需的输出等等 – 2013-03-13 18:35:27