M
mrsr84
I have a database with student records and the classes they are enrolled
into. I have a query with the following SQL coding:
SELECT DISTINCT [Student in Courses].[Section ID], [Student in Courses].ID,
Courses.[Course Title], [Student in Courses].[First Name], [Student in
Courses].[Last Name], Teachers.[Teacher Name], [Student in Courses].[Course
Status], [Student in Courses].Comments
FROM Teachers INNER JOIN (Courses INNER JOIN [Student in Courses] ON
(Courses.[Section ID] = [Student in Courses].[Section ID]) AND (Courses.ID =
[Student in Courses].ID)) ON (Teachers.ID = [Student in Courses].[Teacher
ID]) AND (Teachers.ID = Courses.[Teacher ID])
WHERE (((Teachers.[Teacher Name])=[Enter Teacher Name:]))
ORDER BY [Student in Courses].[Section ID], [Student in Courses].ID,
Courses.[Course Title], [Student in Courses].[Last Name];
When I input the name Johnson for teacher, 2 of her classes- approximately
40 records do not show up. Any suggestions as to what is wron?
Thanks in advance.
into. I have a query with the following SQL coding:
SELECT DISTINCT [Student in Courses].[Section ID], [Student in Courses].ID,
Courses.[Course Title], [Student in Courses].[First Name], [Student in
Courses].[Last Name], Teachers.[Teacher Name], [Student in Courses].[Course
Status], [Student in Courses].Comments
FROM Teachers INNER JOIN (Courses INNER JOIN [Student in Courses] ON
(Courses.[Section ID] = [Student in Courses].[Section ID]) AND (Courses.ID =
[Student in Courses].ID)) ON (Teachers.ID = [Student in Courses].[Teacher
ID]) AND (Teachers.ID = Courses.[Teacher ID])
WHERE (((Teachers.[Teacher Name])=[Enter Teacher Name:]))
ORDER BY [Student in Courses].[Section ID], [Student in Courses].ID,
Courses.[Course Title], [Student in Courses].[Last Name];
When I input the name Johnson for teacher, 2 of her classes- approximately
40 records do not show up. Any suggestions as to what is wron?
Thanks in advance.