]
Sent: donderdag 10 juli 2003 6:05
To: MySQL
Subject: JOIN within LEFT JOIN
I am using MySQL 3.23.54. I have the following table structure.
FORMS
form_id (PK)
form_name
STAFF ASSIGNMENTS
staff_assignment_id (PK)
form_id (FK)
staff_id (FK)
STAFF
staff_id (PK)
first_name
last_name
For each record
I am using MySQL 3.23.54. I have the following table structure.
FORMS
form_id (PK)
form_name
STAFF ASSIGNMENTS
staff_assignment_id (PK)
form_id (FK)
staff_id (FK)
STAFF
staff_id (PK)
first_name
last_name
For each record in FORMS there may be zero, one or multiple records in STAFF
ASSIGNMENTS.