Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6810 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I have a table called "sequence" with records of the sort

[color:green]Patient - text

[color:green]Time - number

[color:green]Sample - text

[color:green]SeqLength - number

In Sequences, there are often several entries that share the same [color:green]Patient, [color:green]Sample and [color:green]Time values.

I have a related table "Visits" that has a single record for every unique Patient/Time /Sample combination (ie a many-to-one from Sequences to Visits). In Visits, I would like to have a field [color:red]AveSeqLength that is the mean of all of the [color:green]SeqLength entries from matching records in Sequences. Does anyone have any idea of how to do this?

Many thanks,

Marcel

(I originally posted this as a multi-part problem in the database schema forum, but since then have solved the database part of it)

This topic is 6810 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.