SELECT COUNT(1)
FROM (CMEOWN.ird_no_preselection_1 AS t1
INNER JOIN CMEOWN.ird_no_preselection_1_a AS t2
ON t1.ird_number = t2.ird_number
AND t1.location_number = t2.location_number);
私はここで何が間違っているのですか?
なぜ括弧なしではないのですか:
SELECT COUNT(1)
FROM CMEOWN.ird_no_preselection_1 AS t1
INNER JOIN CMEOWN.ird_no_preselection_1_a AS t2
ON t1.ird_number = t2.ird_number
AND t1.location_number = t2.location_number;
AS
次に、これを試してください( esを削除してください):
SELECT COUNT(1)
FROM CMEOWN.ird_no_preselection_1 t1
INNER JOIN CMEOWN.ird_no_preselection_1_a t2
ON t1.ird_number = t2.ird_number
AND t1.location_number = t2.location_number;