我正在尝试显示具有职责的志愿者信息以及分配的绩效。我想显示这些信息。但是,当我运行查询时,它没有从相同的性能中收集不同的日期。而且availability_date也混在一起了。它是正确的查询吗?我不确定这是正确的查询。你能给我一些反馈吗?谢谢。
查询在这里。
SELECT Production.name, performance.performance_date, volunteer_duty.availability_date, customer.name "Customer volunteer", volunteer.volunteerid, membership.name "Member volunteer", membership.membershipid
FROM Customer, Membership, Volunteer, volunteer_duty, duty, performance_duty, performance, production
WHERE
Customer.customerId (+) = Membership.customerId AND
Membership.membershipId = Volunteer.membershipId AND
volunteer.volunteerid = volunteer_duty.volunteerid AND
duty.dutyid = volunteer_duty.dutyid AND
volunteer_duty.dutyId = performance_duty.dutyId AND
volunteer_duty.volunteerId = performance_duty.volunteerId AND
performance_duty.performanceId = performance.performanceId AND
Performance.productionId = production.productionId
--添加图像--结果: