Hi All,
I'm hoping someone is able to help me with the following:
I am creating a database for a weightloss group. The database is relational and has one table containing client details. There is another table containing consultation details. As each client is having more than one consultation this seemed sensible. The two tables are linked by a client ref no. in a one-to-many relationhip. The 'consultation details' records contain the client ref no.; date; and weight measurement.
I now want to create an expression that calculates the difference between the weight recorded in the first consultation and the weight recorded in the last consultation for a given client ref no.
I have absolutely no idea how to do this and would be grateful for any assistance.
I'm hoping someone is able to help me with the following:
I am creating a database for a weightloss group. The database is relational and has one table containing client details. There is another table containing consultation details. As each client is having more than one consultation this seemed sensible. The two tables are linked by a client ref no. in a one-to-many relationhip. The 'consultation details' records contain the client ref no.; date; and weight measurement.
I now want to create an expression that calculates the difference between the weight recorded in the first consultation and the weight recorded in the last consultation for a given client ref no.
I have absolutely no idea how to do this and would be grateful for any assistance.
Comment