Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Representing Student Activity Score

Re: Representing Student Activity Score

From: Neo <neo55592_at_hotmail.com>
Date: 22 Jul 2004 17:42:21 -0700
Message-ID: <4b45d3ad.0407221642.2ddcaed0@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 Thu Jul 22 2004 - 19:42:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US