Once we have relationships, we can join tables to produce more useful data.
select VENUE.Name, WORKSHOP.Date
from ATTENDEE, ATTENDANCE, WORKSHOP, VENUE
where ATTENDEE.Name = 'Jane Doe'
and ATTENDEE.Attendee = ATTENDANCE.Attendee
and ATTENDANCE.Workshop = WORKSHOP.Workshop
and WORKSHOP.Venue = VENUE.Venue
order by WORKSHOP.Date;
select distinct ATTENDEE.Name
from ATTENDEE, ATTENDANCE, WORKSHOP
where ATTENDEE.Attendee = ATTENDANCE.Attendee
and ATTENDANCE.Workshop = WORKSHOP.Workshop
and WORKSHOP.Tutor = 'Simon Brooke';
give me feedback on this page // show previous feedback on this page