假设我有两个表如下,我想写一个查询,规则是我想找出哪个 orderID 没有附件 ID。如何在 SQL 中查询它?
OrderID Name
1 Computer
2 Laptop
3 Tablet
AttachmentID OrderID Url
1 1 ….
2 2 ….