I have 2 tables "Sample" and another one "Test", with a pivot table (intermediate) "SampleTest" that has the ForeignKeys plus an extra field "