This includes Product A, which is wrong. Product A's May portion is 2,000 yen×(5 units+4 units) = 18,000 yen, which is less than 20,000 yen, so it does not satisfy the condition. If you also count the 4/30 (April) sale, or read the 20,000-yen “or more” boundary too loosely, you would mistakenly include it.
×Incorrectイ
Product B and Product C are correct, but including Product A and Product D is wrong. Product A's May portion is 18,000 yen, less than 20,000 yen. Product D has no sales date in May (its only sale is 4/30, which is April), so its aggregated amount is 0 yen. Not filtering by sales date, or confusing it with the delivery date (5/2), leads to the typical mistake of including Product D.
○ウ
正解There are two conditions: the “sales date is within May”, and the “total amount per product (the sum of unit price × quantity) is 20,000 yen or more”. First, extract from the Sales table only the rows whose sales date is in May. Since 4/30 is April and 6/8 is June, the three rows Z00001, Z00002, and Z00008 are excluded. The remaining rows are Z00005 (Product C, 3 units), Z00006 (Product A, 5 units), Z00003 (Product B, 3 units), Z00004 (Product A, 4 units), and Z00007 (Product B, 3 units). Next, summing unit price × quantity per product: Product A = 2,000×(5+4) = 18,000 yen, Product B = 4,000×(3+3) = 24,000 yen, Product C = 7,000×3 = 21,000 yen, and Product D has no May sales, so 0 yen. Only Product B and Product C satisfy 20,000 yen or more, so the correct answer is ウ.
×Incorrectエ
This misses Product B. Product B has two records, 5/5 (Z00003) and 5/30 (Z00007), each with 3 units, giving 4,000 yen×(3+3) = 24,000 yen, which satisfies 20,000 yen or more. Misreading 5/30 as June, or overlooking the rows with product code 0002, leaves only Product C.
ここがポイント
This is an operation that combines the relational-database “Selection” (extracting the rows that match a condition) with aggregation (summing unit price × quantity per product). Think in two stages: first narrow the rows by the condition, then total the amounts by key (product).
Read the columns used as conditions accurately. The filter is on the “sales date” being within May, not the “delivery date”. Also, the threshold is 20,000 yen “or more”, so Product A at 18,000 yen is out of scope.