标签: sql
如何创建一个主表,其中包含一个“讲师”列的实例,并在主“教师”列旁边显示“formsreturned”和“availability_avg”?
答案 0 :(得分:0)
只需创建一个标准INNER JOIN:
INNER JOIN
SELECT T1.Instructor, T1.Availability_Avg, T2.FormsReturned FROM Table1 T1 INNER JOIN Table2 T2 ON T1.Instructor = T2.Instructor