Re: Representing Student Activity Score

From: Neo <neo55592_at_hotmail.com>
Date: 22 Jul 2004 17:42:21 -0700
Message-ID: <4b45d3ad.0407221642.2ddcaed0_at_posting.google.com>


> > Could you show how to explicity represent the following info in RM:
> > john take test.
> > john get 95.
> > (john get 95) for (john take test).
>
> PERSON SCORE
> John 50
> Mary 75

A program could derive each tuple's relationship to a person and score (ie tuple1's person is john, tuple1's score is 50. It doesn't encode the original info explicitly.

> Or, if you want a sentence as a result;
> SELECT person||' scored '||score||' in the exam.' FROM =test_scores;
> John scored 50 in the exam.
> Mary scored 75 in the exam.

In the above, which is closer to desired, the SQL statement itself is providing some of the relationship between the data, not data in the db, unlike that shown at www.xdb2.com/Example/StudentActivityScore.asp Received on Fri Jul 23 2004 - 02:42:21 CEST

Original text of this message