one query for two tables

H

Hmmm

This seems so simple yet I can't figure it out! please help.

I have 2 tables:

Assignment table (all assignments for a class)
assignid
assignname
classid

Submission table (assignments turned in by student)
assignid
submitid
studentid
classid
submited (yes/no)


i just want a report listing all assignments for a student in a class and
whether each assignment was submitted.

why is this so hard?
 
G

Guest

Create a query joining the two tables by assignID, and base your report on
the query.

Rosco
 
G

Guest

you just need to put both table in the query and right
join them (not inner join them)
Join them on assignid and classid.
once the joins are made right click the join lines and
select join properties. pick from 3 options. you want all
records in the assingment table and matching records in
the submission table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top