0383NAME IS NULL垢版 | 大砲2017/07/26(水) 22:38:14.43ID:??? >>381 SELECT tableA.名前,AVG(tableA.国語)AS 国語平均,AVG(tableA.英語)AS 英語平均 FROM tableB inner join tableA on tableA.日付 >= tableB.採点開始日 AND tableA.名前=tableB.名前 group by tableA.名前 でいいんじゃないかな