Hi all
This is doing my head in.
I have 2 tables, members and payments. I want to select the member_id in members and any record in payments with the same member_id and produce a recordset with "members.member_id, paymments.member_id, payments,product_id"
If I run the query below it the results are all the records in the members table and all the records in the payments table
SELECT members.member_id , payments.member_id,product_id
FROM members,payments
WHERE members.member_id = 1338022
I know I am doing this wrong but where.