dbTalk Databases Forums  

relational calculus

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss relational calculus in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
miten.mehta@morganstanley.com
 
Posts: n/a

Default relational calculus - 03-10-2009 , 05:05 AM






Hi,

can one tell me how would we write down relational calculus query for
one in which we have group by and having clauses ?

Regards,

Miten.
miten.mehta (AT) morganstanley (DOT) com
imiten (AT) yahoo (DOT) com

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: relational calculus - 03-10-2009 , 06:47 AM






On Mar 10, 6:05*am, miten.me... (AT) morganstanley (DOT) com wrote:
Quote:
Hi,

can one tell me how would we write down relational calculus query for
one in which we have group by and having clauses ?

Regards,

Miten.
miten.me... (AT) morganstanley (DOT) com
imi... (AT) yahoo (DOT) com
I, for one, do not understand your question. Please rephrase.


David Fitzjarrell


Reply With Quote
  #3  
Old   
Michael Austin
 
Posts: n/a

Default Re: relational calculus - 03-10-2009 , 07:11 PM



miten.mehta (AT) morganstanley (DOT) com wrote:
Quote:
Hi,

can one tell me how would we write down relational calculus query for
one in which we have group by and having clauses ?

Regards,

Miten.
miten.mehta (AT) morganstanley (DOT) com
imiten (AT) yahoo (DOT) com

Oracle version in the format of Maj.Min.V.Patchset?
what have you tried? table defs? sample data? sample query? did it work?
errors? get a book - if morgan stanley is your employer, no wonder we
are in such serious financial trouble - we have ignorant people asking
these sorts of questions. The good news is that ignorance can be cured
with a lot of hard work and willingness to learn. Install OracleXE on a
PC or Linux box (same thing ) and start testing and reading and more
testing and reading. BTW - Google can be your friend too...

http://lmgtfy.com/?q=oracle+group+by+having+clause

(For those of you who have not tried lmgtfy I think it is hilarious!!)





Reply With Quote
  #4  
Old   
gareth@jamms.org
 
Posts: n/a

Default Re: relational calculus - 03-11-2009 , 04:47 AM



On 11 Mar, 01:11, Michael Austin <maus... (AT) firstdbasource (DOT) com> wrote:
Quote:
Oracle version in the format of Maj.Min.V.Patchset?
what have you tried? table defs? sample data? sample query? did it work?
errors? *get a book - if morgan stanley is your employer, no wonder we
are in such serious financial trouble - we have ignorant people asking
these sorts of questions. The good news is that ignorance can be cured
with a lot of hard work and willingness to learn. *Install OracleXE on a
PC or Linux box (same thing ) and start testing and reading and more
testing and reading. *BTW - Google can be your friend too...

http://lmgtfy.com/?q=oracle+group+by+having+clause

(For those of you who have not tried lmgtfy I think it is hilarious!!)
lmgtfy.com? Brilliant

Cheers,

-g


Reply With Quote
  #5  
Old   
Malcolm Dew-Jones
 
Posts: n/a

Default Re: relational calculus - 03-11-2009 , 01:15 PM



ddf (oratune (AT) msn (DOT) com) wrote:
: On Mar 10, 6:05=A0am, miten.me... (AT) morganstanley (DOT) com wrote:
: > Hi,
: >
: > can one tell me how would we write down relational calculus query for
: > one in which we have group by and having clauses ?
: >
: > Regards,
: >
: > Miten.
: > miten.me... (AT) morganstanley (DOT) com
: > imi... (AT) yahoo (DOT) com

: I, for one, do not understand your question. Please rephrase.


Perhaps he means the logic predicate type notation, an example expression
stolen from Wikipedia...

{ t : {name} | . s : {name, wage}
( Employee(s) . s.wage = 50.000 . t.name = s.name )
}


There are various such "mathematical/logical" ways of writing set
expressions that correspond to what a relational database does.

I would guess he wants to figure out how to write group by or having using
some such notation.

$0.10


Reply With Quote
  #6  
Old   
Paulie
 
Posts: n/a

Default Re: relational calculus - 03-15-2009 , 03:09 PM





On Mar 11, 1:11 am, Michael Austin <maus... (AT) firstdbasource (DOT) com> wrote:


Quote:
can one tell me how would we write down relational calculus query for
one in which we have group by and having clauses ?

Yep - go to an educational institution and attend classes - or read
a book by "Date".

Quote:
Oracle version in the format of Maj.Min.V.Patchset?

OS - version and machine? CPU? RAM? Disk config?

Quote:
if morgan stanley is your employer, no wonder we
are in such serious financial trouble
ROTFLMAO...


Quote:
http://lmgtfy.com/?q=oracle+group+by+having+clause

I have a prediction that there'll be a rash of http://lmgtfy.com/
posts
in the near future! Brilliant - and who says geeks have no
sense of humour?


Paul...




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.