小编Lev*_*net的帖子

如何从另一个 SQL 表中获取两个不同列的匹配数据:内连接和/或联合?

我在 MS Access 中有两个表,用于跟踪班级辅导员和他们辅导的班级。这两个表的结构如下:

tbl_促进者

facilID -> a unique autonumber to keep track of individual teachers
facilLname -> the Last name of the facilitator
facilFname -> the First name of the facilitator
Run Code Online (Sandbox Code Playgroud)

tbl_facilitatorClasses

classID -> a unique autonumber to keep track of individual classes
className -> the name of the class (science, math, etc)
primeFacil -> the facilID from the first table of a teacher who is primary facilitator
secondFacil -> the facilID  from the first table of another teacher …
Run Code Online (Sandbox Code Playgroud)

sql union ms-access inner-join self-join

3
推荐指数
1
解决办法
1140
查看次数

标签 统计

inner-join ×1

ms-access ×1

self-join ×1

sql ×1

union ×1