Forums

ASP

This topic is locked

trying to create a table from two tables

Posted 03 Jan 2006 21:06:03
1
has voted
03 Jan 2006 21:06:03 jo blo posted:
Hi folks.
I'm trying to create a table with races across the top and club members down the side.
The results from each race should display in the corresponding columns.
The problem is - some members will not compete in some events.
How can I create this from a table of members and a table of events?
I'm stuck!

Replies

Replied 06 Jan 2006 14:20:15
06 Jan 2006 14:20:15 Barry James replied:
It should be as simple as specifying the join in the query...

You're probably looking at a left join so that in the query your from clause looks like

FROM tblmembers LEFT JOIN tblevents on (tblmembers.member=tblevents.winner)

Reply to this topic