Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table join 1

Status
Not open for further replies.

bevan

Programmer
Jan 11, 2001
22
GB
I want to join a user table (M list) to a payment table (pay) via the user ID. HOwever, Access wants to only display those users who DID make a payment and I want all users displayed even if they didn't make a payment.

Current query is

SELECT [M List].*, Pay.P_AMOUNT
FROM [M List] INNER JOIN Pay ON [M List].USERID = Pay.USERID;

How can I make the query display all the records and payment information for those people who have payed?

Bevan
 
Use something like this

SELECT AAJOB.EEOC_CD
FROM AAJOB LEFT JOIN AARATE ON AAJOB.CLASS_CD = AARATE.CLASS_CD;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top