I want to redesign a part of my system. I got the following objects:
Site:
id
Name
Site Version:
id
idSite
Name
Task:
id
idSite
Name
Test:
id
idTask
Name
TestResult:
idTest
idSiteVersion
dateStarted
dateEnded
result
Two problems:
You can see that I have a circle in the definitions. The problem is, I got
Tasks
defined forSites
, and also through theTestResult > SiteVersion > Site
I can get back toSite
again.The main query to answer is, for a given
Site
, show allSiteVersion
and their compatibility toTasks
defined for them.